style(urls): Updated link style to round chips (#1010)

* style(urls): Updated link style to round chips

* restored RawLink changes

* feat:(rounded): introduced newchip varient rounded

* feat(rounded-link): added rounded link component
This commit is contained in:
Shobhit Gupta
2023-08-06 00:20:59 +05:30
committed by GitHub
parent 2d5ad60aeb
commit 7028a8098e
6 changed files with 89 additions and 11 deletions

View File

@ -1,5 +1,5 @@
import { RawLink } from '@/ui/link/components/RawLink';
import { RoundedLink } from '@/ui/link/components/RoundedLink';
export function FieldDisplayURL({ URL }: { URL: string | undefined }) {
return <RawLink href={URL ? 'https://' + URL : ''}>{URL}</RawLink>;
return <RoundedLink href={URL ? 'https://' + URL : ''}>{URL}</RoundedLink>;
}