umami/components/common/NoData.js
2023-04-08 13:14:22 -07:00

16 lines
375 B
JavaScript

import classNames from 'classnames';
import styles from './NoData.module.css';
import useMessages from 'hooks/useMessages';
function NoData({ className }) {
const { formatMessage, messages } = useMessages();
return (
<div className={classNames(styles.container, className)}>
{formatMessage(messages.noDataAvailable)}
</div>
);
}
export default NoData;