import * as React from "react"; import { View, StyleSheet, Text } from "react-native"; import { IAPProps } from "./iap-type"; import CardPopup from "./theme1/card.popup"; import RowPopup from "./theme2/row.popup"; interface State {} export default class IapKitScreen extends React.PureComponent { constructor(props: IAPProps) { super(props); this.state = {}; } public render(): React.ReactNode { if (this.props.theme === "theme1") { return ; } if (this.props.theme === "theme2") { return ; } return null; } }