Skip to content

Commit dd3d7c8

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Introduce custom design of FileInputField (#244)
1 parent 175a09e commit dd3d7c8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/components/FormLayout/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ React.createElement(() => {
389389
/>
390390
<FileInputField
391391
label="Attachment"
392+
onFilesChanged={() => {}}
392393
/>
393394
<Toggle
394395
checked={receiveNewsletter}

src/components/InputGroup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ supports this kind of layout as well.
145145
label="Horizontal layout"
146146
layout="horizontal"
147147
>
148-
<FileInputField label="Attachment" />
148+
<FileInputField label="Attachment" onFilesChanged={() => {}} />
149149
<Button label="Submit" />
150150
</InputGroup>
151151
```

src/components/Modal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ React.createElement(() => {
862862
{ label: 'Project manager', value: 'project-manager' },
863863
]}
864864
/>
865-
<FileInputField label="Photo" />
865+
<FileInputField label="Photo" onFilesChanged={() => {}} />
866866
<TextArea
867867
label="Additional info"
868868
helpText={<p>Enter key is used for new line,<br />so <strong>Enter won't submit the form</strong>.</p>}

0 commit comments

Comments
 (0)