project init

This commit is contained in:
limqhz
2022-11-17 17:05:46 +08:00
parent 597b107cf7
commit eec0e5575f
108 changed files with 4483 additions and 36 deletions

52
components/swiper/type.d.ts vendored Normal file
View File

@@ -0,0 +1,52 @@
export interface TdSwiperProps {
animation?: {
type: StringConstructor;
value?: 'slide';
};
autoplay?: {
type: BooleanConstructor;
value?: boolean;
};
current?: {
type: NumberConstructor;
value?: number;
};
defaultCurrent?: {
type: NumberConstructor;
value?: number;
};
direction?: {
type: StringConstructor;
value?: 'horizontal' | 'vertical';
};
duration?: {
type: NumberConstructor;
value?: number;
};
height?: {
type: NumberConstructor;
value?: number;
};
interval?: {
type: NumberConstructor;
value?: number;
};
loop?: {
type: BooleanConstructor;
value?: boolean;
};
navigation?: {
type: ObjectConstructor;
value?: SwiperNavigation;
};
paginationPosition?: {
type: StringConstructor;
value?: 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right';
};
}
export interface SwiperNavigation {
minShowNum?: number;
showSlideBtn?: boolean;
type?: SwiperNavigationType;
}
export declare type SwiperNavigationType = 'dots' | 'dots-bar' | 'fraction';