Comments (9)
Notice that Material-UI v4.5.2 will soon come out with a warning instead of an exception for the import of this private module.
from react-image-annotate.
Sorry for the trouble, does the import come from the auto-import feature of your IDE?
I would encourage the following:
-import { makeStyles } from "@material-ui/core/styles"
-import createMuiTheme from "@material-ui/core/styles/createMuiTheme"
-import MuiThemeProvider from "@material-ui/core/styles/MuiThemeProvider"
+import {
+ makeStyles,
+ createMuiTheme,
+ MuiThemeProvider,
+} from "@material-ui/core/styles"
These are private imports.
from react-image-annotate.
What do you mean by
@ArcticTee Sorry, it was a question for the author of the package.
This could be a potential workaround: mui/material-ui#17900 (comment).
from react-image-annotate.
@ArcticTee thanks for reporting, assigning myself to fix this issue.
from react-image-annotate.
Edited: I guess the fix for your Theme would work.
from react-image-annotate.
@oliviertassinari Sorry, confused you with the author or contributors of this package😂
from react-image-annotate.
Your best workaround is to freeze @material-ui/core to v4.5.0.
from react-image-annotate.
I solved it by using
"@material-ui/core": "4.4.0",
"@material-ui/lab": "4.0.0-alpha.22",
in my package.json
from react-image-annotate.
fixed in 0.1.28
from react-image-annotate.
Related Issues (20)
- Clone Button behavior is unpredictable, unable to hide clone button
- React element displays incorrectly but fixes itself after going back and forward HOT 2
- How to set default values to ReactImageAnnotate and get coordinates array on save? HOT 1
- preventDefault is preventing numbers from being typed in the create class menu HOT 1
- support with Commonjs
- Problem to yarn start HOT 9
- How to save an image along with the annotations? HOT 4
- image gets shrinked/hidden or shows different background color while loading on Dialog Mui HOT 2
- Unable to drag a polygon annotation
- Rotation of Box
- Can't find Python executable HOT 1
- Delete issue
- NextJS support failed HOT 1
- hideClone hideFullScreen & hideSettings props are not working HOT 1
- How to smart annotation added in this library
- How to get the box or shape real pixel about [x, y, w, h] and points [x, y]. HOT 2
- How to in in annotation index page state update using redux
- how to use save in this library ? HOT 3
- how to find one time one region save and exit after i have change region at that time find to me update flag add
- Is there anyway to enable Create-Pixel tool?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-image-annotate.