/* eslint-disable react/prop-types */ import React from 'react'; import { View } from 'react-native'; import { useStyles } from '../../hooks'; import { BaseAvatarSize } from '../BaseAvatar'; import BaseText, { BaseTextVariant } from '../BaseText'; import FaviconAvatar from '../FaviconAvatar'; import Link from '../Link'; import styleSheet from './TagUrl.styles'; import { TagUrlProps } from './TagUrl.types'; const TagUrl = ({ url, label, cta, style, ...props }: TagUrlProps) => { const { styles } = useStyles(styleSheet, { style }); return ( {label} {cta ? ( {cta.label} ) : null} ); }; export default TagUrl;