import * as WebBrowser from "expo-web-browser"; import * as React from "react"; import { Text } from "react-native"; const FreeText = React.memo((props) => { function getTextProps(props) { let _props = { color: "#000000", fontSize: 16, }; if (props.fontSize) { _props.fontSize = props.fontSize; } if (props.color) { _props.color = props.color; } if (props.textAlign) { _props.align = props.textAlign; } return _props; } const textProps = getTextProps(props); return {props.label || ""}; }); export default FreeText;