Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const slider = (

```jsx
import AwesomeSlider from 'react-awesome-slider';
import AwesomeSliderStyles from 'react-awesome-slider/src/styles';
import AwesomeSliderStyles from 'react-awesome-slider/dist/styles.css';

const slider = (
<AwesomeSlider cssModule={AwesomeSliderStyles}>
Expand All @@ -135,13 +135,13 @@ Note that on v3 there's an adition of the `animation` prop. The animation name i

```jsx
import AwesomeSlider from 'react-awesome-slider';
import CoreStyles from 'react-awesome-slider/src/core/styles.scss';
import AnimationStyles from 'react-awesome-slider/src/styled/fold-out-animation/fold-out-animation.scss';
import CoreStyles from 'react-awesome-slider/dist/styles.css';
import AnimationStyles from 'react-awesome-slider/dist/custom-animations/fold-out-animation.css';

const slider = (
<AwesomeSlider
animation="foldOutAnimation"
cssModule={[coreStyles, animationStyles]}
cssModule={[CoreStyles, AnimationStyles]}
>
<div data-src="/path/to/image-0.png" />
<div data-src="/path/to/image-1.png" />
Expand Down