synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
23 lines • 1.03 kB
TypeScript
/**
* Props for the EntityDownloadConfirmation component.
*
* @property entityId - The ID of the entity to be added to the download cart.
*/
export type EntityDownloadConfirmationProps = {
entityId: string;
versionNumber?: number;
onIsLoadingChange: (isLoading: boolean) => void;
handleClose: () => void;
};
/**
* A component that allows users to add an entity to the download cart. It displays a confirmation dialog that displays
* statistics about the set of items that will be added to the download cart.
*
* @param props - The properties for the component.
* @param props.entityId - The ID of the entity to be added to the download cart.
*
* @returns The rendered EntityDownloadConfirmation component.
*/
export declare function EntityDownloadConfirmation({ entityId, versionNumber, handleClose, onIsLoadingChange, }: EntityDownloadConfirmationProps): import("react/jsx-runtime").JSX.Element | null;
export default EntityDownloadConfirmation;
//# sourceMappingURL=EntityDownloadConfirmation.d.ts.map