Skip to content

Commit

Permalink
feat(FileInput): accept prop support * 3
Browse files Browse the repository at this point in the history
  • Loading branch information
tenphi committed Oct 30, 2024
1 parent c3613b3 commit 1e8edff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/forms/FileInput/FileInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
import { createFocusableRef } from '@react-spectrum/utils';

import { useProviderProps } from '../../../provider';
import { Action } from '../../actions/Action';
import { Action } from '../../actions';
import {
BaseProps,
BlockStyleProps,
Expand Down Expand Up @@ -233,6 +233,7 @@ function FileInput(props: CubeFileInputProps, ref) {
accept={accept}
data-element="Input"
type="file"
multiple={false}
tabIndex={-1}
onDragEnter={() => {
setDragHover(true);
Expand Down

0 comments on commit 1e8edff

Please sign in to comment.