diff --git a/Dashboard/app/renderer/components/LampButtonAbsolute.js b/Dashboard/app/renderer/components/LampButtonAbsolute.js new file mode 100644 index 0000000..126f3de --- /dev/null +++ b/Dashboard/app/renderer/components/LampButtonAbsolute.js @@ -0,0 +1,25 @@ +import React from 'react'; +import { useSelector } from 'react-redux/'; +import Button from '@material-ui/core/Button'; +import EmojiObjectsIcon from '@material-ui/icons/EmojiObjects'; + +export default function LampButtonToggle(props) { + const comConnection = useSelector((state) => state.comConnectionReducer); + + return ( +
+ +
+ ); +} diff --git a/Dashboard/app/renderer/components/LampButtonList.js b/Dashboard/app/renderer/components/LampButtonList.js new file mode 100644 index 0000000..55021ff --- /dev/null +++ b/Dashboard/app/renderer/components/LampButtonList.js @@ -0,0 +1,21 @@ +import React from 'react'; +import LampButtonToggle from './LampButtonToggle'; +import LampButtonAbsolute from './LampButtonAbsolute'; + +export default function LampButtonList() { + return ( +
+
+ + +
+ +
+ + + + +
+
+ ); +} diff --git a/Dashboard/app/renderer/components/LampButtonToggle.js b/Dashboard/app/renderer/components/LampButtonToggle.js new file mode 100644 index 0000000..b65b16e --- /dev/null +++ b/Dashboard/app/renderer/components/LampButtonToggle.js @@ -0,0 +1,25 @@ +import React from 'react'; +import { useSelector } from 'react-redux/'; +import Button from '@material-ui/core/Button'; +import EmojiObjectsIcon from '@material-ui/icons/EmojiObjects'; + +export default function LampButtonToggle(props) { + const comConnection = useSelector((state) => state.comConnectionReducer); + + return ( +
+ +
+ ); +}