mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
18 lines
486 B
TypeScript
18 lines
486 B
TypeScript
import { Checkbox } from "@lcui/react";
|
|
import { Label } from "@lcui/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Widget className="flex flex-col gap-2">
|
|
<div className="flex items-center gap-2">
|
|
<Checkbox id="d1" disabled checked />
|
|
<Label for="d1">Disabled (pre-checked)</Label>
|
|
</div>
|
|
<div className="flex items-center gap-2">
|
|
<Checkbox id="d2" checked />
|
|
<Label for="d2">Normal</Label>
|
|
</div>
|
|
</Widget>
|
|
);
|
|
}
|