Skip to content

Commit 2315617

Browse files
committed
fix: flow
1 parent 5794c3c commit 2315617

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/elements/content-sharing/ContentSharing.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ import * as React from 'react';
1111
import API from '../../api';
1212
// $FlowFixMe
1313
import { withBlueprintModernization } from '../common/withBlueprintModernization';
14-
import { isFeatureEnabled } from '../common/feature-checking';
14+
import { isFeatureEnabled, type FeatureConfig } from '../common/feature-checking';
1515
import SharingModal from './SharingModal';
16+
// $FlowFixMe
1617
import { ContentSharingV2 } from './ContentSharingV2';
1718
import { CLIENT_NAME_CONTENT_SHARING, CLIENT_VERSION, DEFAULT_HOSTNAME_API } from '../../constants';
1819
import 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" */

0 commit comments

Comments
 (0)