@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
14 lines (13 loc) • 507 B
TypeScript
import React from 'react';
import { BoxOwnProps } from './Box';
import { Assign, ForwardRef } from './types';
export interface CheckboxProps extends Assign<React.ComponentPropsWithRef<'input'>, BoxOwnProps> {
}
/**
* Form checkbox input component
*
* Checkbox variants can be defined in `theme.forms` and the
* component uses the `theme.forms.checkbox` variant by default.
* @see https://theme-ui.com/components/checkbox/
*/
export declare const Checkbox: ForwardRef<HTMLInputElement, CheckboxProps>;