@snups/rjsf-mantine
Version:
Mantine theme, fields and widgets for react-jsonschema-form
8 lines (7 loc) • 584 B
TypeScript
import { FieldTemplateProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@snups/rjsf-utils';
/** The `FieldTemplate` component is the template used by `SchemaField` to render any field. It renders the field
* content, (label, description, children, errors and help) inside a `WrapIfAdditional` component.
*
* @param props - The `FieldTemplateProps` for this component
*/
export default function FieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: FieldTemplateProps<T, S, F>): import("react/jsx-runtime").JSX.Element;