"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const Touchable_1 = tslib_1.__importDefault(require("../Touchable"));
const styles_1 = require("./styles");
const Link = ({ id, onPress, children, accessibility, accessibilityLabel, testID, variant = 'md', style, ...rest }) => (<Touchable_1.default id={id || accessibility} onPress={onPress} accessibility={accessibility} accessibilityLabel={accessibilityLabel || accessibility} testID={testID || id || accessibility} {...rest}>
    <styles_1.Text testID={`text_${id}`} accessibilityLabel={`Texto ${accessibility}`} accessibility={`Texto ${accessibility}`} style={style} variant={variant}>
      {children}
    </styles_1.Text>
  </Touchable_1.default>);
exports.default = Link;
//# sourceMappingURL=index.js.map