2020-09-11 07:21:38 +02:00
|
|
|
import classNames from 'classnames';
|
|
|
|
import styles from './NoData.module.css';
|
2023-04-08 07:03:52 +02:00
|
|
|
import useMessages from 'hooks/useMessages';
|
2020-09-11 07:21:38 +02:00
|
|
|
|
2023-04-21 17:00:42 +02:00
|
|
|
export function NoData({ className }) {
|
2023-04-08 07:03:52 +02:00
|
|
|
const { formatMessage, messages } = useMessages();
|
|
|
|
|
2020-09-11 07:21:38 +02:00
|
|
|
return (
|
2023-04-08 22:14:22 +02:00
|
|
|
<div className={classNames(styles.container, className)}>
|
|
|
|
{formatMessage(messages.noDataAvailable)}
|
|
|
|
</div>
|
2020-09-11 07:21:38 +02:00
|
|
|
);
|
|
|
|
}
|
2021-02-16 13:32:04 +01:00
|
|
|
|
|
|
|
export default NoData;
|