synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
19 lines • 947 B
TypeScript
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