UNPKG

@react-beauty/ui-checkbox

Version:

ui-checkbox

13 lines (12 loc) 624 B
import { ReactNode, HTMLAttributes } from 'react'; export interface CheckboxInputProps extends HTMLAttributes<HTMLDivElement> { hasError?: boolean; isDisabled?: boolean; value: string; defaultChecked?: boolean; checked?: boolean; onValueChange?: (checked: boolean) => void; children: ReactNode; } export declare const CheckboxInputInner: import('react').ForwardRefExoticComponent<CheckboxInputProps & import('react').RefAttributes<HTMLDivElement>>; export declare const CheckboxInput: import('react').ForwardRefExoticComponent<CheckboxInputProps & import('react').RefAttributes<HTMLDivElement>>;