mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
16 lines
382 B
JavaScript
16 lines
382 B
JavaScript
import classNames from 'classnames';
|
|
import styles from './NoData.module.css';
|
|
import useMessages from 'hooks/useMessages';
|
|
|
|
export function NoData({ className }) {
|
|
const { formatMessage, messages } = useMessages();
|
|
|
|
return (
|
|
<div className={classNames(styles.container, className)}>
|
|
{formatMessage(messages.noDataAvailable)}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default NoData;
|