UNPKG

@aokiapp/rjsf-mantine-theme

Version:

Mantine theme, fields and widgets for react-jsonschema-form

1 lines 682 B
{"version":3,"file":"Form.mjs","sources":["../src/Form.ts"],"sourcesContent":["import { ComponentType } from 'react';\nimport { withTheme, FormProps } from '@rjsf/core';\nimport { generateTheme } from './theme';\nimport { FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';\n\nexport function generateForm<\n T = any,\n S extends StrictRJSFSchema = RJSFSchema,\n F extends FormContextType = any,\n>(): ComponentType<FormProps<T, S, F>> {\n return withTheme<T, S, F>(generateTheme<T, S, F>());\n}\n\nexport default generateForm();\n"],"names":[],"mappings":";;;AAGO,SAAS,YAAY,GAAG;AAC/B,EAAE,OAAO,SAAS,CAAC,aAAa,EAAE,CAAC,CAAC;AACpC,CAAC;AACD,WAAe,YAAY,EAAE;;;;"}