@rjsf/core
Version:
A simple React component capable of building HTML forms out of a JSON schema.
9 lines • 655 B
TypeScript
import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
/** The `CheckBoxWidget` is a widget for rendering boolean properties.
* It is typically used to represent a boolean.
*
* @param props - The `WidgetProps` for this component
*/
declare function CheckboxWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ schema, uiSchema, options, id, value, disabled, readonly, label, hideLabel, autofocus, onBlur, onFocus, onChange, registry, }: WidgetProps<T, S, F>): import("react/jsx-runtime").JSX.Element;
export default CheckboxWidget;
//# sourceMappingURL=CheckboxWidget.d.ts.map