import { jsx as _jsx } from "react/jsx-runtime";
import { useContext } from 'react';
import { ConfigContext } from '../../ConfigProvider';
import { Placeholder } from '../../placeholders/Placeholder';
import { NO_DATA_TEXT } from './constants';
export const NoData = () => {
    const { imagesMap } = useContext(ConfigContext);
    const { noDataImgSrc } = imagesMap;
    return _jsx(Placeholder, { title: NO_DATA_TEXT, imgSrc: noDataImgSrc });
};
