Skip to content

Commit c5c816c

Browse files
Leandro Soaressofiacteixeira
authored andcommitted
feat: decouple styles from implementation
BREAKING CHANGE
1 parent 3caf961 commit c5c816c

24 files changed

+1662
-1658
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ $ npm install --save @farfetch/react-carousel
1515
import { Carousel } from '@farfetch/react-carousel';
1616
```
1717

18+
We also include css styles out-of-the-box, to use them just import the css by doing the following:
19+
20+
```js
21+
import '@farfetch/react-carousel/styles.css'
22+
```
23+
24+
If you want to style the carousel by yourself, ignore this step.
25+
1826
## Screenshots
1927
![Example](docs/example.png)
2028

@@ -504,4 +512,4 @@ By sending us your contributions, you are agreeing that your contribution is mad
504512

505513
## License
506514

507-
[MIT](./LICENSE)
515+
[MIT](./LICENSE)

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"source": "./src/index.js",
1515
"files": [
1616
"lib",
17-
"es"
17+
"es",
18+
"styles.css"
1819
],
1920
"publishConfig": {
2021
"access": "public"

src/components/Bullets.css

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)