import React from 'react'; import { BaseTransitionProps } from '../../common/Transition/types'; export interface GrowProps extends BaseTransitionProps { /** * Transform origin for scaled element * @default 'top' */ origin?: 'center' | 'top' | 'bottom' | 'right' | 'left' | 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left'; /** * Enable height collapse animation * @default true */ collapse?: boolean; /** * Enable opacity animation * @default true */ fade?: boolean; children?: any; } export interface GrowGroupProps extends GrowProps { } export interface GrowGroupItemProps extends Pick { key?: any; styles?: any; item?: React.ReactNode; }