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

18 lines 799 B
import { DoiObjectType } from '@sage-bionetworks/synapse-client'; export type CreateOrUpdateDoiModalProps = { /** Whether the dialog is open */ open: boolean; /** Callback to call when the dialog is closed */ onClose: () => void; /** The type of object */ objectType: DoiObjectType; /** The ID of the object */ objectId: string; /** The optional version number of the object used to populate the form. */ defaultVersionNumber?: number; /** If minting a DOI for a portal, the ID of the portal object in Synapse */ portalId?: string; }; export declare function CreateOrUpdateDoiModal(props: CreateOrUpdateDoiModalProps): import("react/jsx-runtime").JSX.Element; export default CreateOrUpdateDoiModal; //# sourceMappingURL=CreateOrUpdateDoiModal.d.ts.map