Skip to content

Commit 3df5553

Browse files
authored
Merge pull request #14 from orensurf/master
resolve #12
2 parents c2dfa0c + 9de8b0d commit 3df5553

File tree

1 file changed

+3
-1
lines changed
  • src/react-elastic-carousel/components/Pagination

1 file changed

+3
-1
lines changed

src/react-elastic-carousel/components/Pagination/Dot.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ class DotContainer extends React.Component {
3636
<Dot
3737
onClick={this.onClick}
3838
active={active}
39-
className={cssPrefix("dot")}
39+
className={`${cssPrefix("dot")} ${
40+
active ? cssPrefix("dot_active") : ""
41+
}`}
4042
/>
4143
);
4244
}

0 commit comments

Comments
 (0)