import * as React from 'react' import { StyleSheet, Text, View } from 'react-native' import { SafeAreaView } from 'react-native-safe-area-context' import Button, { BtnTypes } from 'src/components/Button' import Colors from 'src/styles/colors' import { typeScale } from 'src/styles/fonts' import variables from 'src/styles/variables' export interface Props { title: string CTAText: string CTAHandler: () => void subtitle?: string | null children?: React.ReactNode } class FullscreenCTA extends React.PureComponent { render() { const { title, subtitle, CTAText, CTAHandler } = this.props return ( {title} {subtitle} {this.props.children}