Files
Exponent GitHub Bot e3f6a67ce5 Initial commit
fbshipit-source-id: 04f171ad7fc354fbc437cd07abdee445323d9a0f
2018-07-17 18:51:11 +00:00

19 lines
450 B
JavaScript

import * as React from 'react';
import * as SVG from 'app/common/svg';
export default props => {
if (props.type === 'Process') {
return <SVG.Package size="12px" style={props.style} />;
}
if (props.type === 'Device') {
return <SVG.Tablet size="12px" style={props.style} />;
}
if (props.type === 'Issues') {
return <SVG.Warning size="12px" style={props.style} />;
}
return <SVG.Logs size="12px" style={props.style} />;
};