Checkbox
▸ Checkbox(props
): null
| ReactElement
<any
, string
| JSXElementConstructor
<any
>>
Checkbox controls allow users to make multiple independent choices in a form where there are at most five options and each option is binary.
Parameters
Name | Type |
---|---|
props | CheckboxProps & RefAttributes <HTMLDivElement > |
Returns
null
| ReactElement
<any
, string
| JSXElementConstructor
<any
>>
Example
<Checkbox>Label</Checkbox>
Defined in
node_modules/.pnpm/@types+react@18.2.14/node_modules/@types/react/ts5.0/index.d.ts:355