import React from 'react';
import Touchable from '../Touchable';
import { Text } from './styles';
const Link = ({ id, onPress, children, accessibility, accessibilityLabel, testID, variant = 'md', style, ...rest }) => (<Touchable id={id || accessibility} onPress={onPress} accessibility={accessibility} accessibilityLabel={accessibilityLabel || accessibility} testID={testID || id || accessibility} {...rest}>
    <Text testID={`text_${id}`} accessibilityLabel={`Texto ${accessibility}`} accessibility={`Texto ${accessibility}`} style={style} variant={variant}>
      {children}
    </Text>
  </Touchable>);
export default Link;
//# sourceMappingURL=index.js.map