File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/elements/content-sharing Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ import * as React from 'react';
1111import API from '../../api' ;
1212// $FlowFixMe
1313import { withBlueprintModernization } from '../common/withBlueprintModernization' ;
14- import { isFeatureEnabled } from '../common/feature-checking' ;
14+ import { isFeatureEnabled , type FeatureConfig } from '../common/feature-checking' ;
1515import SharingModal from './SharingModal' ;
16+ // $FlowFixMe
1617import { ContentSharingV2 } from './ContentSharingV2' ;
1718import { CLIENT_NAME_CONTENT_SHARING , CLIENT_VERSION , DEFAULT_HOSTNAME_API } from '../../constants' ;
1819import type { ItemType , StringMap } from '../../common/types/core' ;
@@ -39,6 +40,8 @@ type ContentSharingProps = {
3940 * the modal will appear on page load. See ContentSharing.stories.js for examples.
4041 */
4142 displayInModal : boolean ,
43+ /** features - Features for the element */
44+ features ?: FeatureConfig ,
4245 /** itemID - Box file or folder ID */
4346 itemID : string ,
4447 /** itemType - "file" or "folder" */
You can’t perform that action at this time.
0 commit comments