import * as React from "react"; import { Animated, ImageStyle, StyleProp } from "react-native"; interface IProps { theme: string; style?: StyleProp; iconImageSource?: any; } interface IState { toggled: boolean; rotation: Animated.Value; } declare class Icon extends React.Component { constructor(props: IProps); onPressAnimation: () => void; render(): JSX.Element; } export default Icon;