File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed
src/elements/content-picker/__tests__ Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change 11import * as React from 'react' ;
22import { TooltipProvider } from '@box/blueprint-web' ;
33import { screen , render } from '../../../test-utils/testing-library' ;
4- import Footer from '../Footer' ;
5- import type { Collection , BoxItem } from '../../../common/types/core' ;
6-
7- type RenderCustomActionButtonsProps = {
8- currentFolderId : string ;
9- currentFolderName : string ;
10- onCancel : ( ) => void ;
11- onChoose : ( ) => void ;
12- selectedCount : number ;
13- selectedItems : BoxItem [ ] ;
14- } ;
15-
16- type FooterProps = {
17- cancelButtonLabel ?: string ;
18- children ?: React . ReactNode ;
19- chooseButtonLabel ?: string ;
20- currentCollection : Collection ;
21- hasHitSelectionLimit : boolean ;
22- isSingleSelect : boolean ;
23- onCancel : ( ) => void ;
24- onChoose : ( ) => void ;
25- onSelectedClick : ( ) => void ;
26- renderCustomActionButtons ?: ( props : RenderCustomActionButtonsProps ) => React . ReactNode ;
27- selectedCount : number ;
28- selectedItems : BoxItem [ ] ;
29- showSelectedButton : boolean ;
30- } ;
4+ import Footer , { type FooterProps } from '../Footer' ;
315
326describe ( 'elements/content-picker/Footer' , ( ) => {
337 const defaultProps = {
You can’t perform that action at this time.
0 commit comments