forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
follow up on Upload button demo on Material UI
- Loading branch information
1 parent
ab1c307
commit 2ce9e55
Showing
3 changed files
with
28 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 2 additions & 7 deletions
9
docs/data/material/components/buttons/InputFileUpload.tsx.preview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
<Button | ||
component="label" | ||
variant="contained" | ||
startIcon={<CloudUploadIcon />} | ||
href="#file-upload" | ||
> | ||
Upload a file | ||
<Button component="label" variant="contained" startIcon={<CloudUploadIcon />}> | ||
Upload file | ||
<VisuallyHiddenInput type="file" /> | ||
</Button> |