Skip to content

Commit

Permalink
feat(form): Added a useFileUpload hook to upload files to the browser
Browse files Browse the repository at this point in the history
Closes #1159
  • Loading branch information
mlaursen committed Jul 18, 2021
1 parent e5585e1 commit efb3f2f
Show file tree
Hide file tree
Showing 4 changed files with 1,182 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
"@react-md/transition": "^2.8.5",
"@react-md/typography": "^2.8.4",
"@react-md/utils": "^2.8.4",
"classnames": "^2.3.1"
"classnames": "^2.3.1",
"nanoid": "^3.1.23"
},
"devDependencies": {
"@react-md/menu": "^2.8.5",
Expand Down
2 changes: 2 additions & 0 deletions packages/form/src/file-input/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from "./FileInput";
export * from "./useFileUpload";
export * from "./utils";
Loading

0 comments on commit efb3f2f

Please sign in to comment.