Skip to content

Commit 2cff002

Browse files
committed
add type file handling
1 parent dd10f40 commit 2cff002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const Input = memo(
9090
<div
9191
className={cx(
9292
fr.cx(
93-
"fr-input-group",
93+
nativeInputProps?.type === "file" ? "fr-upload-group" : "fr-input-group",
9494
disabled && "fr-input-group--disabled",
9595
(() => {
9696
switch (state) {

0 commit comments

Comments
 (0)