UNPKG

bcche-ui-react

Version:

A component library that can achieve magic effects

17 lines (16 loc) 523 B
import type { ComponentProps } from '@/types'; import React from 'react'; import type { SwiperItemProps } from './swiper-item/SwiperItem'; declare type SwiperItemNode = React.ReactElement<React.FC<SwiperItemProps> & { className?: string; [key: string]: any; }>; export interface SwiperProps extends ComponentProps { interval?: number; duration?: number; autoplay?: boolean; current?: number; defaultCurrent?: number; children: SwiperItemNode | SwiperItemNode[]; } export {};