UNPKG

fictoan-react

Version:

A full-featured, designer-friendly, yet performant framework with plain-English props and focus on rapid iteration.

17 lines (16 loc) 728 B
import React from "react"; import { BaseInputComponentProps } from '../BaseInputComponent/constants'; export type CheckboxElementType = HTMLInputElement; export type CheckboxProps = Omit<BaseInputComponentProps<CheckboxElementType>, "as" | "onChange" | "value"> & { value?: string; defaultChecked?: boolean; checked?: boolean; onChange?: (checked: boolean) => void; }; export declare const Checkbox: React.ForwardRefExoticComponent<Omit<BaseInputComponentProps<HTMLInputElement>, "as" | "value" | "onChange"> & { value?: string; defaultChecked?: boolean; checked?: boolean; onChange?: (checked: boolean) => void; } & React.RefAttributes<HTMLInputElement>>; //# sourceMappingURL=Checkbox.d.ts.map