blob: 2ac3809954e60dbf00edd59d7fa505824d19085f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import { FC } from 'react';
import { BooleanField, BooleanFieldProps } from '../boolean-field';
export type CheckboxProps = Omit<BooleanFieldProps, 'type'>;
/**
* Checkbox component
*
* Render a checkbox input type.
*/
export const Checkbox: FC<CheckboxProps> = (props) => (
<BooleanField {...props} type="checkbox" />
);
|