-
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Description
What did I do?
I write this code and I expected to run properly
this is my code :
const MyLoader = props => (
<ContentLoader
height={130}
width={400}
speed={2}
primaryColor="#f3f3f3"
secondaryColor="#ecebeb"
{...props}
>
<rect x="19" y="45" rx="3" ry="3" width="245" height="5" />
<circle cx="333.5" cy="78.76" r="49.5" />
<rect x="19" y="75" rx="3" ry="3" width="245" height="5" />
<rect x="19" y="105" rx="3" ry="3" width="245" height="5" />
</ContentLoader>
)
render() {
return(
<MyLoader/>
)
}And i got this error
Invariant Violation: Invariant Violation: Invariant Violation: Invariant Violation: View config not found fot name rect