mirror of
https://github.com/expo/dev-tools.git
synced 2026-11-14 17:50:07 -10:00
19 lines
450 B
JavaScript
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} />;
|
|
};
|