UNPKG

@rjsf/core

Version:

A simple React component capable of building HTML forms out of a JSON schema.

9 lines 632 B
import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils'; /** The `RadioWidget` is a widget for rendering a radio group. * It is typically used with a string property constrained with enum options. * * @param props - The `WidgetProps` for this component */ declare function RadioWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ options, value, required, disabled, readonly, autofocus, onBlur, onFocus, onChange, id, }: WidgetProps<T, S, F>): import("react/jsx-runtime").JSX.Element; export default RadioWidget; //# sourceMappingURL=RadioWidget.d.ts.map