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

21 lines
674 B
JavaScript

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