Latest updates from IceHrmPro
This commit is contained in:
37
web/node_modules/antd/lib/carousel/index.d.ts
generated
vendored
Normal file
37
web/node_modules/antd/lib/carousel/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
import * as React from 'react';
|
||||
import { Settings } from '@ant-design/react-slick';
|
||||
import { ConfigConsumerProps } from '../config-provider';
|
||||
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 default class Carousel extends React.Component<CarouselProps, {}> {
|
||||
static defaultProps: {
|
||||
dots: boolean;
|
||||
arrows: boolean;
|
||||
draggable: boolean;
|
||||
};
|
||||
innerSlider: any;
|
||||
private slick;
|
||||
constructor(props: CarouselProps);
|
||||
componentDidMount(): void;
|
||||
componentDidUpdate(prevProps: CarouselProps): void;
|
||||
componentWillUnmount(): void;
|
||||
getDotPosition(): DotPosition;
|
||||
saveSlick: (node: any) => void;
|
||||
onWindowResized: () => void;
|
||||
next(): void;
|
||||
prev(): void;
|
||||
goTo(slide: number, dontAnimate?: boolean): void;
|
||||
renderCarousel: ({ getPrefixCls, direction }: ConfigConsumerProps) => JSX.Element;
|
||||
render(): JSX.Element;
|
||||
}
|
||||
Reference in New Issue
Block a user