UNPKG

react-native-simi-comps

Version:
9 lines 450 B
import React from "react"; import { Pressable } from "react-native"; import Text from "./Text"; export default function TextLink(_a) { var onPress = _a.onPress, text = _a.text, _b = _a.color, color = _b === void 0 ? "#0062f5" : _b; return (React.createElement(Pressable, { onPress: onPress }, React.createElement(Text, { text: text, color: color, style: { textDecorationLine: "underline" } }))); } //# sourceMappingURL=TextLink.js.map