File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright (c) 2025, RTE (http://www.rte-france.com)
3
+ * This Source Code Form is subject to the terms of the Mozilla Public
4
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
5
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
+ */
7
+
8
+ import DeviceHub from '@material-symbols/svg-400/outlined/device_hub.svg?react' ;
9
+ import { useTheme } from '@mui/material' ;
10
+
11
+ interface DeviceHubProps {
12
+ style ?: React . CSSProperties ;
13
+ }
14
+ export function DeviceHubIcon ( { style } : DeviceHubProps ) {
15
+ const theme = useTheme ( ) ;
16
+
17
+ const defaultStyle : React . CSSProperties = {
18
+ width : 15 ,
19
+ height : 15 ,
20
+ fill : theme . palette . text . primary ,
21
+ } ;
22
+ return < DeviceHub style = { { ...defaultStyle , ...style } } /> ;
23
+ }
Original file line number Diff line number Diff line change 6
6
*/
7
7
export { LeftPanelOpenIcon } from './LeftPanelOpenIcon' ;
8
8
export { LeftPanelCloseIcon } from './LeftPanelCloseIcon' ;
9
+ export { DeviceHubIcon } from './DeviceHubIcon' ;
You can’t perform that action at this time.
0 commit comments