mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
upgrade react-slick to 0.13 and fix pauseOnHover
ref https://github.com/akiran/react-slick/pull/452
This commit is contained in:
parent
67fc242c6b
commit
e9c551acb3
@ -20,6 +20,7 @@ export default class Carousel extends React.Component {
|
|||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
dots: true,
|
dots: true,
|
||||||
arrows: false,
|
arrows: false,
|
||||||
|
pauseOnHover: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
"rc-upload": "~2.0.3",
|
"rc-upload": "~2.0.3",
|
||||||
"rc-util": "~3.3.0",
|
"rc-util": "~3.3.0",
|
||||||
"react-addons-pure-render-mixin": "^15.0.0",
|
"react-addons-pure-render-mixin": "^15.0.0",
|
||||||
"react-slick": "~0.12.0",
|
"react-slick": "~0.13.3",
|
||||||
"shallowequal": "^0.2.2",
|
"shallowequal": "^0.2.2",
|
||||||
"warning": "~3.0.0"
|
"warning": "~3.0.0"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user