import React, { useState } from 'react' import {StyleProp,ViewStyle} from "react-native" import * as Animatable from 'react-native-animatable'; type Props = { content?: string color?: string, type: string, duration?: number | string, delay?: number | string,//todo 待调整 direction?: "normal" | "reverse" | "alternate" | "alternate-reverse"// 动画重复运行的方向 iterationCount?: number | "infinite" //动画运行次数 iterationDelay?: number, easing?: string children?: any, style?: StyleProp, } const AnimateBase = (props: Props) => { return ( {props.children} ) } export default AnimateBase