UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

14 lines (13 loc) 587 B
import { default as React } from 'react'; import { CreateWuiProps } from '../System'; import { DefaultFieldStylesProps } from '../../utils/field-styles'; export interface CheckboxOptions extends DefaultFieldStylesProps { checked?: boolean; Component?: React.ElementType; disabled?: boolean; indeterminate?: boolean; name?: string; onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void; } export type CheckboxProps = CreateWuiProps<'input', CheckboxOptions>; export declare const Checkbox: import('../System').CreateWuiComponent<"input", CheckboxProps>;