@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
11 lines (10 loc) • 482 B
TypeScript
import { default as React, FunctionComponent } from 'react';
import { AnimateType, AnimateAction } from './types';
import { BasicComponent } from '../../utils/typings';
export interface AnimateProps extends BasicComponent {
type: AnimateType;
action: AnimateAction;
loop: boolean;
onClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
}
export declare const Animate: FunctionComponent<Partial<AnimateProps> & React.HTMLAttributes<HTMLDivElement>>;