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