File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
- import { PickerFileMetadata } from 'filestack-js' ;
2
+ import { PickerFileMetadata , ClientOptions } from 'filestack-js' ;
3
3
4
4
type FilestackAction = 'transform' | 'retrieve' | 'metadata' | 'storeUrl' | 'upload' | 'multiupload' | 'remove' | 'pick' | 'removeMetadata' | 'preview' | 'logout' ;
5
5
@@ -16,14 +16,7 @@ interface Props {
16
16
// actionOptions
17
17
onSuccess ?: ( result : PickerFileMetadata [ ] ) => void ;
18
18
onError ?: ( error : PickerFileMetadata [ ] ) => void ;
19
- clientOptions ?: {
20
- cname ?: string ;
21
- security ?: {
22
- policy ?: string ;
23
- signature ?: string ;
24
- } ;
25
- sessionCache ?: boolean ;
26
- } ;
19
+ clientOptions ?: ClientOptions ;
27
20
file ?: File ;
28
21
source ?: string ;
29
22
customRender ?: React . ComponentType ;
You can’t perform that action at this time.
0 commit comments