UNPKG

infinity-forge

Version:
23 lines (22 loc) 720 B
import { InputProps } from '../interfaces.js'; export type OptionInputRadio = { label: string; value: string; readOnly?: boolean; CustomOption?: (props: { isActive: boolean; name: string; } & OptionInputRadio) => React.ReactNode; }; interface InputRadioProps { name: string; label?: string; value?: string; options: OptionInputRadio[]; } export declare function InputRadioComponent(props: OptionInputRadio & { onChangeInput: InputProps['onChangeInput']; name: string; }): import("react/jsx-runtime").JSX.Element; export declare function InputRadio({ name, options, ...props }: InputRadioProps & InputProps): import("react/jsx-runtime").JSX.Element; export {};