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