UNPKG

rjsf-native-fs

Version:

React Native theme, fields and widgets for react-jsonschema-form

12 lines (11 loc) 489 B
/// <reference types="react" /> import { WidgetProps } from '@rjsf/core'; declare const CheckboxWidget: ({ value, disabled, readonly, label, onChange, schema, }: WidgetProps) => JSX.Element; declare type CheckBoxProps = { disabled?: boolean; onChange: (selected: boolean) => void; selected: boolean; label: string; }; export declare const CheckBoxComponent: ({ disabled, onChange, selected, label }: CheckBoxProps) => JSX.Element; export default CheckboxWidget;