Skip to content

Commit 245d8a1

Browse files
committed
Fix svg rendering bug
1 parent e084ceb commit 245d8a1

File tree

6 files changed

+1072
-4
lines changed

6 files changed

+1072
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ typings/
8080

8181
# Nuxt.js build / generate output
8282
.nuxt
83-
dist
8483

8584
# Gatsby files
8685
.cache/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ React mui fileuploader is a react component based on @mui v5 that allows you to
2525
```javascript
2626
import React from 'react'
2727
import ReactDOM from 'react-dom'
28-
import Scheduler from "react-mui-fileuploader"
28+
import FileUpload from "react-mui-fileuploader"
2929

3030
function App() {
3131

dist/index.esm.js

Lines changed: 531 additions & 0 deletions
Large diffs are not rendered by default.

dist/index.umd.js

Lines changed: 538 additions & 0 deletions
Large diffs are not rendered by default.

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.1.0",
3+
"version": "0.1.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
"scripts": {

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ MODE.map((m) => {
3939
plugins: ['@babel/transform-runtime', "@babel/plugin-proposal-optional-chaining"],
4040
babelHelpers: 'runtime'
4141
}),
42-
svg(),
42+
svg({base64: true}),
4343
// this adds sourcemaps
4444
//sourcemaps(),
4545
// this adds support for styles

0 commit comments

Comments
 (0)