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 11import React from 'react' ;
2- import { PickerFileMetadata } from 'filestack-js' ;
2+ import { PickerFileMetadata , ClientOptions } from 'filestack-js' ;
33
44type FilestackAction = 'transform' | 'retrieve' | 'metadata' | 'storeUrl' | 'upload' | 'multiupload' | 'remove' | 'pick' | 'removeMetadata' | 'preview' | 'logout' ;
55
@@ -16,14 +16,7 @@ interface Props {
1616 // actionOptions
1717 onSuccess ?: ( result : PickerFileMetadata [ ] ) => void ;
1818 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 ;
2720 file ?: File ;
2821 source ?: string ;
2922 customRender ?: React . ComponentType ;
You can’t perform that action at this time.
0 commit comments