mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-25 02:36:20 +01:00
17 lines
427 B
JavaScript
17 lines
427 B
JavaScript
import { Icon, Text, Flexbox } from 'react-basics';
|
|
import Logo from 'assets/logo.svg';
|
|
|
|
function EmptyPlaceholder({ message, children }) {
|
|
return (
|
|
<Flexbox direction="column" alignItems="center" justifyContent="center" gap={60} height={600}>
|
|
<Icon size="xl">
|
|
<Logo />
|
|
</Icon>
|
|
<Text size="lg">{message}</Text>
|
|
<div>{children}</div>
|
|
</Flexbox>
|
|
);
|
|
}
|
|
|
|
export default EmptyPlaceholder;
|