Skip to content

Commit

Permalink
Renamed input
Browse files Browse the repository at this point in the history
  • Loading branch information
agonzalez97 committed Nov 4, 2022
1 parent a42fe7a commit ae135f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/src/file-input/FileInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const DxcFileInput = ({
<HelperText disabled={disabled}>{helperText}</HelperText>
{mode === "file" ? (
<FileContainer multiple={multiple} files={files}>
<HiddenInputFile
<ValueInput
id={fileInputId}
type="file"
accept={accept}
Expand Down Expand Up @@ -233,7 +233,7 @@ const DxcFileInput = ({
</FileContainer>
) : (
<Container>
<HiddenInputFile
<ValueInput
id={fileInputId}
type="file"
accept={accept}
Expand Down Expand Up @@ -371,7 +371,7 @@ const FileContainer = styled.div`
margin-top: 0.25rem;
`;

const HiddenInputFile = styled.input`
const ValueInput = styled.input`
display: none;
`;

Expand Down

0 comments on commit ae135f4

Please sign in to comment.