UNPKG

react-lightning-design-system

Version:

Salesforce Lightning Design System components built with React

23 lines (22 loc) 556 B
import { FC, InputHTMLAttributes, Ref, ReactNode } from 'react'; import { CheckboxValueType } from './CheckboxGroup'; /** * */ export type CheckboxProps = { label?: string; required?: boolean; cols?: number; name?: string; value?: CheckboxValueType; checked?: boolean; defaultChecked?: boolean; tooltip?: ReactNode; tooltipIcon?: string; elementRef?: Ref<HTMLDivElement>; inputRef?: Ref<HTMLInputElement>; } & InputHTMLAttributes<HTMLInputElement>; /** * */ export declare const Checkbox: FC<CheckboxProps>;