UNPKG

@avarock/react-form

Version:

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

12 lines (11 loc) 487 B
import { ComponentProps } from "react"; import type { InputBaseProps } from "../types/baseTypes"; type InputSelectProps = { options: { label: string; value: string; }[]; initialOptionLabel?: string; } & InputBaseProps & ComponentProps<"select">; declare function InputSelect({ name, label, value, onChangeInput, error, className, options, initialOptionLabel, ...props }: InputSelectProps): import("react/jsx-runtime").JSX.Element; export default InputSelect;