This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/_Dashboard/app/renderer/components/LampButtonList.js

22 lines
674 B
JavaScript
Raw Normal View History

2020-08-01 16:29:42 +02:00
import React from 'react';
import LampButtonToggle from './LampButtonToggle';
import LampButtonAbsolute from './LampButtonAbsolute';
export default function LampButtonList() {
return (
2020-08-01 20:59:08 +02:00
<div style={{ margin: 20 }}>
2020-08-01 17:13:38 +02:00
<div style={{ display: 'flex', justifyContent: 'center' }}>
2020-08-01 20:59:08 +02:00
<LampButtonAbsolute title="on" />
<LampButtonAbsolute title="off" />
2020-08-01 16:29:42 +02:00
</div>
2020-08-01 20:59:08 +02:00
<div style={{ display: 'flex', justifyContent: 'center', marginTop: 20 }}>
2020-08-01 17:13:38 +02:00
<LampButtonToggle lampnumber={0} />
<LampButtonToggle lampnumber={1} />
<LampButtonToggle lampnumber={2} />
<LampButtonToggle lampnumber={3} />
2020-08-01 16:29:42 +02:00
</div>
</div>
);
}