9 lines
340 B
Markdown
9 lines
340 B
Markdown
**Checkbox** — multi-select in tables (collection items, bulk actions) and option lists. Use `indeterminate` on a header "select all".
|
|
|
|
```jsx
|
|
<Checkbox checked={sel} onChange={setSel} label="Include in EPG" />
|
|
<Checkbox indeterminate onChange={selectAll} />
|
|
```
|
|
|
|
Props: `checked`, `onChange(next)`, `label`, `indeterminate`, `disabled`.
|