/* @flow */ import React, { Component } from 'react'; import { StyleSheet, View } from 'react-native'; import { Title1, Title2, Title3, Headline, Body, Callout, Subhead, Footnote, Caption1, Caption2, withTheme, } from 'react-native-ios-kit'; import type { Theme } from 'react-native-ios-kit/types'; import withSafeArea from '../withSafeArea'; type Props = { theme: Theme, }; class TypographyExample extends Component { render() { return ( Title1 Title2 Title3 Headline Body Callout Subhead Footnote Caption1 Caption2 ); } } export default withTheme(withSafeArea(TypographyExample)); const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'space-between', alignItems: 'center', padding: 15, marginBottom: 48, }, });