// Type definitions for react-native-flip-card 3.5 // Project: https://github.com/moschan/react-native-flip-card // Definitions by: Jake Chapman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import { Component, ReactNode, ComponentClass } from "react"; import { ViewProps, TextProps, StyleProp, TextInputProps, ViewStyle } from "react-native"; // FlipCard export interface FlipCardProps { style?: StyleProp; flip?: boolean; friction?: number; perspective?: number; flipHorizontal?: boolean; flipVertical?: boolean; clickable?: boolean; onFlipEnd?: () => void; onFlipStart?: () => void; alignHeight?: boolean; alignWidth?: boolean; useNativeDriver?: boolean; } // Face export interface FaceProps { chilren: JSX.Element[]; } // Back export interface BackProps { flipHorizontal: boolean; flipVertical: boolean; perspective: number; chilren: JSX.Element[]; } export const Face: ComponentClass; export const Back: ComponentClass; export default class FlipCard extends Component {}