Adds three new optional arguments to the MdFileUpload component
uploadTexts: makes it possible for developers to change static 'Dropp en fil her eller velg fra denne maskinen' text
automaticTrigger: boolean which makes component run onUpload every time the filelist changes (avoids users having to click 'Last opp' every time if desired)
hideButtons: boolean which hides the 'Avbryt' and 'Last opp' buttons. Meant to be used together with automaticTrigger.
Checklist before requesting a review
[ x ] I have performed a self-review and test of my code
[ x ] I have added label to the PR (major, minor or patch)
[ ] If new component: Is story for component created in stories-folder?
[ ] If new component: Is tsx-file import added to packages/react/index.tsx?
[ ] If new component: Is css-file added to packages/css/index.css?
Describe your changes
Adds three new optional arguments to the MdFileUpload component
Checklist before requesting a review
major
,minor
orpatch
)stories
-folder?packages/react/index.tsx
?packages/css/index.css
?