UNPKG

@avarock/react-form

Version:

A customizable React form library with modular input components for building flexible forms

11 lines (10 loc) 453 B
import { ComponentProps } from "react"; import type { InputBaseProps } from "../types/baseTypes"; type InputRadioProps = { options: { label: string; value: string; }[]; } & InputBaseProps & Omit<ComponentProps<"input">, "type" | "value">; declare function InputRadio({ name, label, value, onChangeInput, error, className, options, ...props }: InputRadioProps): import("react/jsx-runtime").JSX.Element; export default InputRadio;