mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +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`] = `
|
exports[`Carousel should works for dotPosition left 1`] = `
|
||||||
<div
|
<div
|
||||||
class="ant-carousel"
|
class="ant-carousel ant-carousel-vertical"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="slick-slider slick-initialized"
|
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`] = `
|
exports[`Carousel should works for dotPosition right 1`] = `
|
||||||
<div
|
<div
|
||||||
class="ant-carousel"
|
class="ant-carousel ant-carousel-vertical"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="slick-slider slick-initialized"
|
class="slick-slider slick-initialized"
|
||||||
|
@ -109,6 +109,7 @@ export default class Carousel extends React.Component<CarouselProps, {}> {
|
|||||||
|
|
||||||
const className = classNames(prefixCls, {
|
const className = classNames(prefixCls, {
|
||||||
[`${prefixCls}-rtl`]: direction === 'rtl',
|
[`${prefixCls}-rtl`]: direction === 'rtl',
|
||||||
|
[`${prefixCls}-vertical`]: dotPosition === 'left' || dotPosition === 'right',
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user