File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
polaris-react/src/components/DropZone Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ export interface DropZoneProps {
45
45
labelHidden ?: boolean ;
46
46
/** ID for file input */
47
47
id ?: string ;
48
+ /** name for file input */
49
+ name ?: string ;
48
50
/** Allowed file types */
49
51
accept ?: string ;
50
52
/**
@@ -117,6 +119,7 @@ export const DropZone: React.FunctionComponent<DropZoneProps> & {
117
119
label,
118
120
labelAction,
119
121
labelHidden,
122
+ name,
120
123
children,
121
124
disabled = false ,
122
125
outline = true ,
@@ -437,6 +440,7 @@ export const DropZone: React.FunctionComponent<DropZoneProps> & {
437
440
accept = { accept }
438
441
disabled = { disabled }
439
442
multiple = { allowMultiple }
443
+ name = { name }
440
444
onChange = { handleDrop }
441
445
onFocus = { handleFocus }
442
446
onBlur = { handleBlur }
You can’t perform that action at this time.
0 commit comments