@aokiapp/rjsf-mantine-corporate
Version:
Corporational variant of theme, based on @aokiapp/rjsf-mantine-theme
11 lines (10 loc) • 771 B
TypeScript
import { FormContextType, RJSFSchema, StrictRJSFSchema, WidgetProps } from '@rjsf/utils';
/**
* The `PillInputWidget` is the special case of the array field where the user can enter a value and press enter to add
* it to the array.
* The schema of this widget must match the follwing criteria:
* - type: array
* - items: type: string
* - uniqueItems: true
*/
export default function PillInputWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>({ id, placeholder, label, hideLabel, value, required, readonly, disabled, onChange: onChangeBase, onChangeOverride, autofocus, rawErrors, hideError, schema, options: { description, removeOnBackspace, punctuation }, }: WidgetProps<T, S, F>): import("react/jsx-runtime").JSX.Element;