@avarock/react-form
Version:
A customizable React form library with modular input components for building flexible forms
6 lines (5 loc) • 370 B
TypeScript
import { ComponentProps } from "react";
import type { InputBaseProps } from "../types/baseTypes";
type InputCheckBoxProps = InputBaseProps & Omit<ComponentProps<"input">, "type">;
declare function InputCheckBox({ name, label, value, onChangeInput, error, className, ...props }: InputCheckBoxProps): import("react/jsx-runtime").JSX.Element;
export default InputCheckBox;