Skip to content

Commit 0db833a

Browse files
authored
fix: FileTrigger acceptedFileTypes should accept a readonly array (#8477)
1 parent a7b1a28 commit 0db833a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-aria-components/src/FileTrigger.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export interface FileTriggerProps {
1919
/**
2020
* Specifies what mime type of files are allowed.
2121
*/
22-
acceptedFileTypes?: Array<string>,
22+
acceptedFileTypes?: ReadonlyArray<string>,
2323
/**
2424
* Whether multiple files can be selected.
2525
*/

0 commit comments

Comments
 (0)