2023-01-21 02:12:53 +01:00
|
|
|
import { Icon, Text, Flexbox } from 'react-basics';
|
2020-08-11 04:54:03 +02:00
|
|
|
import Logo from 'assets/logo.svg';
|
|
|
|
|
2023-04-21 17:00:42 +02:00
|
|
|
export function EmptyPlaceholder({ message, children }) {
|
2020-08-11 04:54:03 +02:00
|
|
|
return (
|
2023-01-21 02:12:53 +01:00
|
|
|
<Flexbox direction="column" alignItems="center" justifyContent="center" gap={60} height={600}>
|
|
|
|
<Icon size="xl">
|
2022-12-27 01:57:59 +01:00
|
|
|
<Logo />
|
|
|
|
</Icon>
|
2023-01-28 06:53:13 +01:00
|
|
|
<Text size="lg">{message}</Text>
|
2023-01-21 02:12:53 +01:00
|
|
|
<div>{children}</div>
|
|
|
|
</Flexbox>
|
2020-08-11 04:54:03 +02:00
|
|
|
);
|
|
|
|
}
|
2021-02-16 12:59:39 +01:00
|
|
|
|
|
|
|
export default EmptyPlaceholder;
|