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
2020-08-01 17:13:38 +02:00

23 lines
695 B
JavaScript

import React from 'react';
import LampButtonToggle from './LampButtonToggle';
import LampButtonAbsolute from './LampButtonAbsolute';
export default function LampButtonList() {
return (
<div>
<div style={{ display: 'flex', justifyContent: 'center' }}>
<div style={{ display: 'flex', margin: 20 }}>
<LampButtonAbsolute title="on" />
<LampButtonAbsolute title="off" />
</div>
</div>
<div style={{ display: 'flex', margin: 20 }}>
<LampButtonToggle lampnumber={0} />
<LampButtonToggle lampnumber={1} />
<LampButtonToggle lampnumber={2} />
<LampButtonToggle lampnumber={3} />
</div>
</div>
);
}