box-ui-elements
Version:
Box UI Elements
16 lines (15 loc) • 620 B
TypeScript
import * as React from 'react';
import API from '../../api';
import type { ItemType } from '../../common/types/core';
export interface ContentSharingV2Props {
/** api - API instance */
api: API;
/** children - Children for the element to open the Unified Share Modal */
children?: React.ReactElement;
/** itemId - Box file or folder ID */
itemId: string;
/** itemType - "file" or "folder" */
itemType: ItemType;
}
declare const _default: React.FC<ContentSharingV2Props | (ContentSharingV2Props & import("@box/blueprint-web").BlueprintModernizationContextValue)>;
export default _default;