mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 05:05:48 +08:00
parent
8e1051daf5
commit
a4ac7de4c5
@ -55,7 +55,7 @@ exports[`Carousel should works for dotPosition bottom 1`] = `
|
||||
|
||||
exports[`Carousel should works for dotPosition left 1`] = `
|
||||
<div
|
||||
class="ant-carousel"
|
||||
class="ant-carousel ant-carousel-vertical"
|
||||
>
|
||||
<div
|
||||
class="slick-slider slick-initialized"
|
||||
@ -89,7 +89,7 @@ exports[`Carousel should works for dotPosition left 1`] = `
|
||||
|
||||
exports[`Carousel should works for dotPosition right 1`] = `
|
||||
<div
|
||||
class="ant-carousel"
|
||||
class="ant-carousel ant-carousel-vertical"
|
||||
>
|
||||
<div
|
||||
class="slick-slider slick-initialized"
|
||||
|
@ -109,6 +109,7 @@ export default class Carousel extends React.Component<CarouselProps, {}> {
|
||||
|
||||
const className = classNames(prefixCls, {
|
||||
[`${prefixCls}-rtl`]: direction === 'rtl',
|
||||
[`${prefixCls}-vertical`]: dotPosition === 'left' || dotPosition === 'right',
|
||||
});
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user