UNPKG

2.01 kBTypeScriptView Raw
1import './swiper.less';
2export type { SwiperProps, SwiperRef } from './swiper';
3declare const _default: import("react").ForwardRefExoticComponent<{
4 defaultIndex?: number | undefined;
5 allowTouchMove?: boolean | undefined;
6 autoplay?: boolean | undefined;
7 autoplayInterval?: number | undefined;
8 loop?: boolean | undefined;
9 direction?: "vertical" | "horizontal" | undefined;
10 onIndexChange?: ((index: number) => void) | undefined;
11 indicatorProps?: Pick<import("../page-indicator").PageIndicatorProps, "style" | "className" | "color"> | undefined;
12 indicator?: false | ((total: number, current: number) => import("react").ReactNode) | undefined;
13 slideSize?: number | undefined;
14 trackOffset?: number | undefined;
15 stuckAtBoundary?: boolean | undefined;
16 rubberband?: boolean | undefined;
17 stopPropagation?: ("mousedown" | "mousemove" | "mouseup")[] | undefined;
18 total?: number | undefined;
19 children?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>[] | ((index: number) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) | undefined;
20} & {
21 className?: string | undefined;
22 style?: (import("react").CSSProperties & Partial<Record<"--width" | "--height" | "--border-radius" | "--track-padding", string>>) | undefined;
23 tabIndex?: number | undefined;
24} & import("react").AriaAttributes & import("react").RefAttributes<import("./swiper").SwiperRef>> & {
25 Item: import("react").FC<{
26 onClick?: ((e: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
27 children?: import("react").ReactNode;
28 } & {
29 className?: string | undefined;
30 style?: (import("react").CSSProperties & Partial<Record<never, string>>) | undefined;
31 tabIndex?: number | undefined;
32 } & import("react").AriaAttributes>;
33};
34export default _default;
35
\No newline at end of file