UNPKG

zfd

Version:

An enterprise-class UI design language and React-based implementation

31 lines (30 loc) 920 B
import * as React from 'react'; import { ConfigConsumerProps } from '../config-provider'; export interface SlideShowProps { children: React.ReactNode; title: string | React.ReactNode; icon?: React.ReactNode; customizePrefixCls?: string; open?: boolean; visible?: boolean; onChange: () => void; onEnd?: (exists: boolean) => void; duration?: number; } export interface SlideShowState { status: boolean; } export default class SlideShow extends React.Component<SlideShowProps, SlideShowState> { state: SlideShowState; panelClick: () => void; animateEnter: (node: any, done: any) => { stop(): void; }; animateLeave: (node: any, done: any) => { stop(): void; }; handleEnd: (_: any, exists: any) => void; componentDidMount(): void; renderSlideShow: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }