import * as React from 'react' import { StyleProp, Text, TextStyle, ViewStyle } from 'react-native' import Touchable, { Props as TouchableProps } from 'src/components/Touchable' export type Props = Omit & { style?: StyleProp containerStyle?: StyleProp notScaleFont?: Boolean } // unstyled Touchable Text, good for making other Text Buttons such as TopBarButton export default function BorderlessButton(props: Props) { const { style, containerStyle, children, notScaleFont, ...passThroughProps } = props return ( {notScaleFont ? ( {children} ) : ( {children} )} ) }