Checkbox
Terminal-styled checkbox control.
Import
import { Checkbox } from "neoterm-ui";Usage
<Checkbox checked={agreed} onChange={setAgreed} label="I agree to the terms" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| checked | boolean | — | Checked state. |
| onChange | (checked: boolean) => void | — | Change callback. |
| label | string | — | Label text. |
| disabled | boolean | — | Disable the checkbox. |