mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Build svg into components.
This commit is contained in:
parent
fdc73268b7
commit
5682b4d217
64 changed files with 16267 additions and 176 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { ReactNode } from 'react';
|
||||
import { Icon, Text, Flexbox } from 'react-basics';
|
||||
import Logo from '@/assets/logo.svg';
|
||||
import { Icons } from '@/components/icons';
|
||||
|
||||
export interface EmptyPlaceholderProps {
|
||||
message?: string;
|
||||
|
|
@ -11,7 +11,7 @@ export function EmptyPlaceholder({ message, children }: EmptyPlaceholderProps) {
|
|||
return (
|
||||
<Flexbox direction="column" alignItems="center" justifyContent="center" gap={60} height={600}>
|
||||
<Icon size="xl">
|
||||
<Logo />
|
||||
<Icons.Logo />
|
||||
</Icon>
|
||||
<Text size="lg">{message}</Text>
|
||||
<div>{children}</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue