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