UNPKG

@rjsf/core

Version:

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

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