react-native-eva-icons
Version:
Eva Icons for React Native
15 lines (14 loc) • 581 B
TypeScript
import { Animated, ViewProps } from 'react-native';
import { Animation, AnimationConfig } from './animation';
declare type TimingAnimationConfig = Omit<Animated.TimingAnimationConfig, 'toValue'>;
export interface ShakeAnimationConfig extends AnimationConfig, TimingAnimationConfig {
start?: number;
offset?: number;
}
export declare class ShakeAnimation extends Animation<ShakeAnimationConfig, ViewProps> {
private value;
protected get animation(): Animated.CompositeAnimation;
constructor(config?: ShakeAnimationConfig);
toProps(): ViewProps;
}
export {};