react-native-iap-kit
Version:
In app purchase UI Kit for React Native
17 lines (15 loc) • 408 B
text/typescript
import { ModalProps, StyleProp, ViewStyle } from "react-native";
import { Plan } from "./types/plan";
export interface IAPProps {
visible: boolean;
onRestorePressed?: () => void;
benefits: string[];
plans: Plan[];
privacyUrl: string;
termsUrl: string;
existSubs?: boolean;
theme?: "theme1";
style?: StyleProp<ViewStyle>;
onBackPressed?: () => void;
modalProps?: Partial<ModalProps>;
}