UNPKG

@chris-bellman/rjsf-mantine-5-theme

Version:

Mantine 5 theme, fields and widgets for react-jsonschema-form. Based on @aokiapp/rjsf-mantine-theme

8 lines (7 loc) 363 B
import { IdSchema } from '@rjsf/utils'; import { ReactNode } from 'react'; /** * Create error components from errors array */ export declare function createErrors<T = any>(errors: (string | ReactNode)[] | undefined | null, hideError: boolean | undefined | null, // it's okay to pass undefined here, but do not omit it idSchema?: IdSchema<T>): ReactNode | null;