import { TextView } from '#components/Map' import type { Item } from '#types/Item' export const ProfileTextView = ({ item, dataField, heading, hideWhenEmpty, }: { item: Item dataField: string heading: string hideWhenEmpty: boolean }) => { return (
{!(item.data === '' && hideWhenEmpty) && (

{heading}

)}
) }