Files
twenty/front/src/modules/ui/editable-field/components/FieldDisplayURL.tsx
T
Charles Bochet 6ced8434bd Uniformize folder structure (#693)
* Uniformize folder structure

* Fix icons

* Fix icons

* Fix tests

* Fix tests
2023-07-16 14:29:28 -07:00

6 lines
201 B
TypeScript

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