/* eslint-disable @typescript-eslint/no-unsafe-assignment */ import { TextView } from '#components/Map' import { Item } from '#src/types' import { getValue } from '#utils/GetValue' export const ProfileTextView = ({ item, dataField, heading, hideWhenEmpty, }: { item: Item dataField: string heading: string hideWhenEmpty: boolean }) => { return (