zent
Version:
一套前端设计语言和基于React的实现
20 lines (17 loc) • 465 B
TypeScript
/// <reference types="react" />
declare module 'zent/lib/swiper' {
interface ISwiperProps {
className?: string
prefix?: string
transitionDuration?: number
autoplay?: boolean
autoplayInterval?: number
dots?: boolean
dotsColor?: string
dotsSize?: 'normal'|'small'|'large'
arrows?: boolean
arrowsType?: 'dark'|'light'
onChange?: Function
}
export default class Swiper extends React.Component<ISwiperProps, any> {}
}