Skip to content

Commit

Permalink
fix: fix carousel incorrect prop
Browse files Browse the repository at this point in the history
  • Loading branch information
lightbringer1991 committed Oct 19, 2020
1 parent f14c9e2 commit 822b722
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Carousel/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ CarouselComponent.propTypes = {
children: PropTypes.node,
autoplay: PropTypes.bool,
variableWidth: PropTypes.bool,
autoplayInterval: PropTypes.number,
autoplaySpeed: PropTypes.number,
slidesToShow: PropTypes.number,
dots: PropTypes.bool,
};

CarouselComponent.defaultProps = {
autoplay: true,
variableWidth: true,
autoplayInterval: 10000,
autoplaySpeed: 10000,
slidesToShow: 2,
dots: true,
};
Expand Down
2 changes: 1 addition & 1 deletion www/containers/props.json
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@
"computed": false
}
},
"autoplayInterval": {
"autoplaySpeed": {
"type": {
"name": "number"
},
Expand Down

0 comments on commit 822b722

Please sign in to comment.