Skip to content

Commit d378d81

Browse files
committed
update fileUpload story
1 parent b85f1e3 commit d378d81

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stories/5-components/Forms/AuFileUpload.stories.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ export default {
2525
control: 'number',
2626
description: 'Maximum filesize allowed (in MB)',
2727
},
28-
minFileSizeMB: {
28+
minFileSizeKB: {
2929
control: 'number',
30-
description: 'Minimum filesize allowed (in MB)',
30+
description: 'Minimum filesize allowed (in KB)',
3131
},
3232
multiple: {
3333
control: 'boolean',
@@ -56,7 +56,7 @@ const Template = (args) => ({
5656
@helpTextDragDrop={{this.helpTextDragDrop}}
5757
@helpTextFileNotSupported={{this.helpTextFileNotSupported}}
5858
@maxFileSizeMB={{this.maxFileSizeMB}}
59-
@minFileSizeMB={{this.minFileSizeMB}}
59+
@minFileSizeKB={{this.minFileSizeKB}}
6060
@multiple={{this.multiple}}
6161
@onFinishUpload={{this.onFinishUpload}}
6262
@onQueueUpdate={{this.onQueueUpdate}}
@@ -72,7 +72,7 @@ Component.args = {
7272
helpTextDragDrop: 'Sleep de bestanden naar hier om toe te voegen',
7373
helpTextFileNotSupported: 'Dit bestandsformaat wordt niet ondersteund.',
7474
maxFileSizeMB: 20,
75-
minFileSizeMB: 0,
75+
minFileSizeKB: 0,
7676
multiple: false,
7777
onFinishUpload: null,
7878
onQueueUpdate: null,

0 commit comments

Comments
 (0)