Closed tonyjmartinez closed 3 years ago
Set it on the actionOptions
property. ActionOptions is passed down to the filestack-js library. See all the allowed settings here.
<FilestackReact
apikey="..."
action="pick"
actionOptions={{
accept: "image/*",
allowManualRetry: true,
fromSources: ["local_file_system"],
transformations: {
circle: false,
crop: {
aspectRatio,
force: true,
},
},
}}
/>
How do I limit the accepted file types like the 'accept' property here?