import * as React from 'react'; import { Stack } from '@mantine/core'; import { ICommonVisProps } from '../interfaces'; import { BarChart } from './BarChart'; import { IBarConfig } from './interfaces'; import { i18n } from '../../i18n'; import { WarningMessage } from '../general/WarningMessage'; export function BarVis({ config, setConfig, columns, selectionCallback = () => null, selectedMap = {}, selectedList = [], showDownloadScreenshot, uniquePlotId, }: ICommonVisProps) { return ( {config?.catColumnSelected ? ( ) : ( {i18n.t('visyn:vis.missingColumn.barError')} )} ); }