UNPKG

antd-fx67ll-test

Version:

这是一个测试着玩的私服antd项目,完全照抄v4.16.6的antd源码,请勿使用,仅做发布测试(因每次发布必须要升版本,如发现版本出入请忽略,与官方无关)

25 lines (24 loc) 835 B
import * as React from 'react'; import { Settings } from '@ant-design/react-slick'; export declare type CarouselEffect = 'scrollx' | 'fade'; export declare type DotPosition = 'top' | 'bottom' | 'left' | 'right'; export interface CarouselProps extends Omit<Settings, 'dots' | 'dotsClass'> { effect?: CarouselEffect; style?: React.CSSProperties; prefixCls?: string; slickGoTo?: number; dotPosition?: DotPosition; children?: React.ReactNode; dots?: boolean | { className?: string; }; } export interface CarouselRef { goTo: (slide: number, dontAnimate?: boolean) => void; next: () => void; prev: () => void; autoPlay: boolean; innerSlider: any; } declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<CarouselRef>>; export default Carousel;