UNPKG

@alifd/meet-react

Version:

Fusion Mobile React UI System Component

18 lines (17 loc) 657 B
import { CSSProperties, ReactNode } from 'react'; import { BaseComponentAttributes, BasicDirectionType } from '../utils/types'; export interface SliderProps extends BaseComponentAttributes { activeIndex?: number; showDots?: boolean; slideDirection?: BasicDirectionType; autoplay?: boolean; autoplaySpeed?: number; width?: number | string; height?: number | string; children?: ReactNode; infinite?: boolean; dotStyle?: CSSProperties; onChange?: (index: number) => void; } declare const _default: import("react").ForwardRefExoticComponent<SliderProps & import("react").RefAttributes<any>>; export default _default;