Skip to content

Commit 1e8edff

Browse files
committed
feat(FileInput): accept prop support * 3
1 parent c3613b3 commit 1e8edff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/forms/FileInput/FileInput.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import { createFocusableRef } from '@react-spectrum/utils';
1010

1111
import { useProviderProps } from '../../../provider';
12-
import { Action } from '../../actions/Action';
12+
import { Action } from '../../actions';
1313
import {
1414
BaseProps,
1515
BlockStyleProps,
@@ -233,6 +233,7 @@ function FileInput(props: CubeFileInputProps, ref) {
233233
accept={accept}
234234
data-element="Input"
235235
type="file"
236+
multiple={false}
236237
tabIndex={-1}
237238
onDragEnter={() => {
238239
setDragHover(true);

0 commit comments

Comments
 (0)