From 4b192b870dfd4fc1eb61b244bbe455a59f7089c3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 24 Oct 2020 15:32:00 -0700 Subject: Implement category icons --- modern/src/DevicePage.js | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'modern/src/DevicePage.js') diff --git a/modern/src/DevicePage.js b/modern/src/DevicePage.js index d4b83e6e..7c9b5671 100644 --- a/modern/src/DevicePage.js +++ b/modern/src/DevicePage.js @@ -8,6 +8,7 @@ import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import EditAttributesView from './attributes/EditAttributesView'; import deviceAttributes from './attributes/deviceAttributes'; import SelectField from './form/SelectField'; +import { deviceCategories } from './common/deviceCategories'; const useStyles = makeStyles(() => ({ details: { @@ -15,30 +16,6 @@ const useStyles = makeStyles(() => ({ }, })); -const deviceCategories = [ - 'default', - 'animal', - 'bicycle', - 'boat', - 'bus', - 'car', - 'crane', - 'helicopter', - 'motorcycle', - 'offroad', - 'person', - 'pickup', - 'plane', - 'ship', - 'tractor', - 'train', - 'tram', - 'trolleybus', - 'truck', - 'van', - 'scooter', -]; - const DevicePage = () => { const classes = useStyles(); -- cgit v1.2.3