Skip to content

Commit a4ca51f

Browse files
committed
update version to v0.5.1
1 parent a2a7a14 commit a4ca51f

File tree

6 files changed

+65
-63
lines changed

6 files changed

+65
-63
lines changed

dist/index.esm.js

Lines changed: 30 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.esm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js

Lines changed: 30 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.umd.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-mui-fileuploader",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "🗃️ React mui fileuploader is a react component based on @mui v5 that allows you to upload files with an awesome ui component",
55
"main": "dist/index.esm.js",
66
"module": "dist/index.umd.js",

src/FileAttachment.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useRef } from 'react'
22
import PropTypes from 'prop-types'
33
import { useTheme } from '@mui/material/styles'
4-
import { Typography, Avatar, IconButton, Box, Theme } from "@mui/material"
4+
import { Typography, Avatar, IconButton, Box } from "@mui/material"
55
import CloseIcon from "@mui/icons-material/Close"
66
import ArchiveOutlinedIcon from '@mui/icons-material/ArchiveOutlined'
77
import PlayCircleOutlineIcon from '@mui/icons-material/PlayCircleOutline'
@@ -17,7 +17,7 @@ function FileAttachment(props: FileAttachmentProps) {
1717
handleRemoveFile
1818
} = props
1919

20-
const theme: Theme = useTheme()
20+
const theme = useTheme()
2121

2222
const avatarRef = useRef<HTMLDivElement | null>(null)
2323

0 commit comments

Comments
 (0)