chore: update ant-design dependencies and add new icon types

This commit is contained in:
Luiz Costa
2025-11-18 09:39:51 -03:00
parent 775e562fe9
commit 5c0094d74e
22648 changed files with 2140248 additions and 29 deletions
+30
View File
@@ -0,0 +1,30 @@
import * as React from 'react';
import type { Settings } from '@ant-design/react-slick';
export type CarouselEffect = 'scrollx' | 'fade';
export type DotPosition = 'top' | 'bottom' | 'left' | 'right';
export interface CarouselProps extends Omit<Settings, 'dots' | 'dotsClass' | 'autoplay'> {
effect?: CarouselEffect;
style?: React.CSSProperties;
prefixCls?: string;
rootClassName?: string;
id?: string;
slickGoTo?: number;
dotPosition?: DotPosition;
children?: React.ReactNode;
dots?: boolean | {
className?: string;
};
waitForAnimate?: boolean;
autoplay?: boolean | {
dotDuration?: boolean;
};
}
export interface CarouselRef {
goTo: (slide: number, dontAnimate?: boolean) => void;
next: () => void;
prev: () => void;
autoPlay: (playType?: 'update' | 'leave' | 'blur') => void;
innerSlider: any;
}
declare const Carousel: React.ForwardRefExoticComponent<CarouselProps & React.RefAttributes<CarouselRef>>;
export default Carousel;