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

27 lines 940 B
/** * TODO: SWC-5612 - Replace token prop with SynapseContext.accessToken * * This wasn't done because Enzyme's shallow renderer is not currently * compatible with the `contextType` field in the React 16+ context API. * * This can be fixed by rewriting tests to not rely on the shallow renderer. * * See here: https://github.com/enzymejs/enzyme/issues/1553 */ export type SynapseFormWrapperProps = { formSchemaEntityId: string; formUiSchemaEntityId: string; formNavSchemaEntityId: string; token?: string; isWizardMode?: boolean; fileNamePath: string; formTitle: string; formClass?: string; formDataId?: string; dataFileHandleId?: string; submitted?: boolean; formGroupId: string; }; export declare function SynapseFormWrapper(props: SynapseFormWrapperProps): import("react/jsx-runtime").JSX.Element; export default SynapseFormWrapper; //# sourceMappingURL=SynapseFormWrapper.d.ts.map