diff --git a/src/components/icons/DeviceHubIcon.tsx b/src/components/icons/DeviceHubIcon.tsx new file mode 100644 index 00000000..1656b4fe --- /dev/null +++ b/src/components/icons/DeviceHubIcon.tsx @@ -0,0 +1,23 @@ +/** + * Copyright (c) 2025, RTE (http://www.rte-france.com) + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + +import DeviceHub from '@material-symbols/svg-400/outlined/device_hub.svg?react'; +import { useTheme } from '@mui/material'; + +interface DeviceHubProps { + style?: React.CSSProperties; +} +export function DeviceHubIcon({ style }: DeviceHubProps) { + const theme = useTheme(); + + const defaultStyle: React.CSSProperties = { + width: 15, + height: 15, + fill: theme.palette.text.primary, + }; + return ; +} diff --git a/src/components/icons/index.ts b/src/components/icons/index.ts index eb81de7a..7a0915e0 100644 --- a/src/components/icons/index.ts +++ b/src/components/icons/index.ts @@ -6,3 +6,4 @@ */ export { LeftPanelOpenIcon } from './LeftPanelOpenIcon'; export { LeftPanelCloseIcon } from './LeftPanelCloseIcon'; +export { DeviceHubIcon } from './DeviceHubIcon';