UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

19 lines 947 B
import { FormContextType, Registry, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils'; import { PropsWithChildren } from 'react'; type RJSFInputLabelProps<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any> = PropsWithChildren<{ /** If true, the label will not be shown * @default false */ hideLabel?: boolean; /** The rendered label of the field */ fieldLabel: React.ReactNode; /** The rendered description of the field */ description: React.ReactNode; /** The `registry` object */ registry: Registry<T, S, F>; }>; /** * Component that handles rendering our custom input label and description fields for RJSF. */ export declare function RJSFInputLabelWrapper<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: RJSFInputLabelProps<T, S, F>): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=RJSFInputLabel.d.ts.map