import { H4 } from '@expo/html-elements'; import * as React from 'react'; import { PropsWithChildren } from 'react'; import { StyleSheet, View, ScrollView } from 'react-native'; const Page = ({ children }: PropsWithChildren) => ( {children} ); const ScrollPage = ({ children }: PropsWithChildren) => ( {children} ); type SectionProps = PropsWithChildren<{ title: string; row?: boolean }>; const Section = ({ title, children, row }: SectionProps) => ( {title} {children} ); const styles = StyleSheet.create({ page: { paddingHorizontal: 12, paddingBottom: 12, }, scrollPage: { flex: 1, }, section: { borderBottomColor: 'rgba(0,0,0,0.1)', borderBottomWidth: StyleSheet.hairlineWidth, paddingBottom: 8, }, sectionHeader: { marginTop: 8, }, }); export { Page, ScrollPage, Section };