Closed marekyggdrasil closed 2 years ago
I think I just misunderstood the usage. What I actually needed was
<div style={style}>1</div>
<div style={style}>2</div>
<div style={style}>3</div>
<div style={style}>4</div>
and
const style = {
"background-color": "transparent"
};
A simple source that reproduces my problem
and
styles.css
generated using https://caferati.me/demo/react-awesome-slider/imagesthe outcome
it seems like if I import the
awesome-react-slider
it automatically imports its style as well, if I want my own style I can't importawesome-react-slider
... Could someone explain how to put my own style and loadawesome-react-component
without the default style?