Skip to content

Commit

Permalink
Merge pull request #26 from hizo/fix/support-rtl-option
Browse files Browse the repository at this point in the history
FIX: support rtl option
  • Loading branch information
Lauren Chen authored May 13, 2018
2 parents 651efdb + 733d5d6 commit 74b6bab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/OwlCarousel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const Owl_Carousel_Options = {
responsive: PropTypes.object,
responsiveRefreshRate: PropTypes.number,
responsiveBaseElement: PropTypes.element,
rtl: PropTypes.bool,
video: PropTypes.bool,
videoHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
videoWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.bool]),
Expand Down Expand Up @@ -99,7 +100,7 @@ const Owl_Carousel_Options = {
class OwlCarousel extends Component {
constructor(props, context) {
super(props, context);

this.next = this.next.bind(this);
this.prev = this.prev.bind(this);
this.to = this.to.bind(this);
Expand Down Expand Up @@ -216,7 +217,7 @@ class OwlCarousel extends Component {
} = this.propsWithoutOptions;

return (
<div
<div
className={`owl-carousel ${className}`}
ref={inst => this.inst = inst}
{...props}
Expand Down

0 comments on commit 74b6bab

Please sign in to comment.