import React from 'react'; import { BaseTransitionProps } from '../../common/Transition/types'; export interface SlideProps extends BaseTransitionProps { /** * Direction to animate to * @default 'none' */ direction?: 'none' | 'up' | 'down' | 'left' | 'right'; /** * Enable opacity animation * @default true */ fade?: boolean; /** * Enable height collapse animation * @default true */ collapse?: boolean; children?: any; } export interface SlideGroupProps extends SlideProps { } export interface SlideGroupItemProps extends Pick { key?: any; styles?: any; item?: React.ReactNode; }