• Parameters

    • props: {
          allowTouchMove?: boolean;
          autoplay?: boolean;
          autoplayInterval?: number;
          children?: ReactElement<any, string | JSXElementConstructor<any>> | ReactElement<any, string | JSXElementConstructor<any>>[] | ((index) => ReactElement<any, string | JSXElementConstructor<any>>);
          defaultIndex?: number;
          direction?: "horizontal" | "vertical";
          indicator?: false | ((total, current) => ReactNode);
          indicatorProps?: Pick<PageIndicatorProps, "style" | "className" | "color">;
          loop?: boolean;
          onIndexChange?: ((index) => void);
          rubberband?: boolean;
          slideSize?: number;
          stopPropagation?: ("mousedown" | "mousemove" | "mouseup")[];
          stuckAtBoundary?: boolean;
          total?: number;
          trackOffset?: number;
      } & {
          className?: string;
          style?: CSSProperties & Partial<Record<"--border-radius" | "--height" | "--width" | "--track-padding", string>>;
          tabIndex?: number;
      } & AriaAttributes & RefAttributes<SwiperRef>

    Returns ReactNode

Properties

$$typeof: symbol
Item: FC<{
    children?: ReactNode;
    onClick?: ((e) => void);
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<never, string>>;
    tabIndex?: number;
} & AriaAttributes>
defaultProps?: Partial<{
    allowTouchMove?: boolean;
    autoplay?: boolean;
    autoplayInterval?: number;
    children?: ReactElement<any, string | JSXElementConstructor<any>> | ReactElement<any, string | JSXElementConstructor<any>>[] | ((index) => ReactElement<any, string | JSXElementConstructor<any>>);
    defaultIndex?: number;
    direction?: "horizontal" | "vertical";
    indicator?: false | ((total, current) => ReactNode);
    indicatorProps?: Pick<PageIndicatorProps, "style" | "className" | "color">;
    loop?: boolean;
    onIndexChange?: ((index) => void);
    rubberband?: boolean;
    slideSize?: number;
    stopPropagation?: ("mousedown" | "mousemove" | "mouseup")[];
    stuckAtBoundary?: boolean;
    total?: number;
    trackOffset?: number;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--border-radius" | "--height" | "--width" | "--track-padding", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<SwiperRef>>
displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

propTypes?: WeakValidationMap<{
    allowTouchMove?: boolean;
    autoplay?: boolean;
    autoplayInterval?: number;
    children?: ReactElement<any, string | JSXElementConstructor<any>> | ReactElement<any, string | JSXElementConstructor<any>>[] | ((index) => ReactElement<any, string | JSXElementConstructor<any>>);
    defaultIndex?: number;
    direction?: "horizontal" | "vertical";
    indicator?: false | ((total, current) => ReactNode);
    indicatorProps?: Pick<PageIndicatorProps, "style" | "className" | "color">;
    loop?: boolean;
    onIndexChange?: ((index) => void);
    rubberband?: boolean;
    slideSize?: number;
    stopPropagation?: ("mousedown" | "mousemove" | "mouseup")[];
    stuckAtBoundary?: boolean;
    total?: number;
    trackOffset?: number;
} & {
    className?: string;
    style?: CSSProperties & Partial<Record<"--border-radius" | "--height" | "--width" | "--track-padding", string>>;
    tabIndex?: number;
} & AriaAttributes & RefAttributes<SwiperRef>>

Generated using TypeDoc