import * as React from 'react'; import { IEaseType, IStyleAnimProps } from 'rc-tween-one/typings/AnimObject'; import BgElement from './BgElement'; export interface IDataType { key?: string; value?: number; type?: IStyleAnimProps | IStyleAnimProps[]; bgPosition?: string; } export interface IFollowType { delay?: number; ease?: IEaseType; minMover?: number; data: IDataType; } export interface IProps extends React.HTMLAttributes { leaveChildHide?: boolean; sync?: boolean; prefixCls?: string; followParallax?: IFollowType; component?: string | React.ReactNode; componentProps?: {}; } export default class Element extends React.Component> { static BgElement: typeof BgElement; }