import { StyleSheet, View } from 'react-native' import { TextButton } from '../../../components' interface ViewMoreLinkRowProps { onPress: () => void accessibilityHint: string expanded?: boolean } export const ViewMoreLinkRow = ({ accessibilityHint, expanded = false, onPress, }: ViewMoreLinkRowProps) => { const styles = useRowStyles() return ( {expanded ? 'View less' : 'View more'} ) } const useRowStyles = () => { return StyleSheet.create({ row: { flexDirection: 'row', alignItems: 'center', paddingVertical: 12, paddingHorizontal: 16, }, }) }