@conduction/components
Version:
React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)
10 lines (9 loc) • 364 B
TypeScript
/// <reference types="react" />
import { IReactHookFormProps } from "../types";
export interface ICheckboxProps {
label: string;
name: string;
defaultChecked?: boolean;
disabled?: boolean;
}
export declare const InputCheckbox: ({ name, validation, register, label, defaultChecked, disabled, }: ICheckboxProps & IReactHookFormProps) => JSX.Element;