@@ -15,7 +15,6 @@ import { convertCollabsResponse, convertItemResponse } from './utils';
1515
1616import type { ElementsXhrError } from '../../common/types/api' ;
1717import type { Collaborations , ItemType } from '../../common/types/core' ;
18- import type { USMConfig } from '../../features/unified-share-modal/flowTypes' ;
1918import type { AvatarURLMap } from './types' ;
2019
2120import messages from './messages' ;
@@ -26,14 +25,14 @@ export interface ContentSharingV2Props {
2625 /** children - Children for the element to open the Unified Share Modal */
2726 children ?: React . ReactElement ;
2827 /** config - Configuration object for the Unified Share Modal */
29- config ?: USMConfig | Configuration ;
28+ config ?: Configuration ;
3029 /** itemId - Box file or folder ID */
3130 itemId : string ;
3231 /** itemType - "file" or "folder" */
3332 itemType : ItemType ;
3433}
3534
36- function ContentSharingV2 ( { api, children, config : usmConfig = { } , itemId, itemType } : ContentSharingV2Props ) {
35+ function ContentSharingV2 ( { api, children, config : usmConfig , itemId, itemType } : ContentSharingV2Props ) {
3736 const [ avatarUrlMap , setAvatarUrlMap ] = React . useState < AvatarURLMap | null > ( null ) ;
3837 const [ item , setItem ] = React . useState < Item | null > ( null ) ;
3938 const [ hasError , setHasError ] = React . useState < boolean > ( false ) ;
0 commit comments