Skip to content

Commit efb3f2f

Browse files
committed
feat(form): Added a useFileUpload hook to upload files to the browser
Closes #1159
1 parent e5585e1 commit efb3f2f

File tree

4 files changed

+1182
-1
lines changed

4 files changed

+1182
-1
lines changed

packages/form/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"@react-md/transition": "^2.8.5",
5454
"@react-md/typography": "^2.8.4",
5555
"@react-md/utils": "^2.8.4",
56-
"classnames": "^2.3.1"
56+
"classnames": "^2.3.1",
57+
"nanoid": "^3.1.23"
5758
},
5859
"devDependencies": {
5960
"@react-md/menu": "^2.8.5",

packages/form/src/file-input/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
export * from "./FileInput";
2+
export * from "./useFileUpload";
3+
export * from "./utils";

0 commit comments

Comments
 (0)