import classNames from 'classnames' import { Text } from 'components/Text' import { FormattedNumber } from 'components/FormattedNumber' interface Props { title: string data?: PositionsData[] } export const PositionsList = (props: Props) => { if (!props?.data || props.data?.length === 0) return null const arrayKeys = Object.keys(props.data[0]) return (