import React , { FunctionComponent } from 'react' ; import { TouchableWithoutFeedback , TouchableWithoutFeedbackProperties } from 'react-native' ; export interface TouchableWithoutFeedbackLinkProps extends TouchableWithoutFeedbackProperties { href ? : string ; } export const TouchableWithoutFeedbackLink = ( { children , ... props } ) : JSX . Element => { const { href , ... rest } = props ; return ( < TouchableWithoutFeedback accessibilityTraits = 'link' { ... rest } > { children } < /TouchableWithoutFeedback>); } ;