mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-20 04:14:12 +01:00
migrate compare and tankopedia loadout to new data-driven components, splitting the old monolithic loadout and compare UI into smaller pieces and adding shared Table, Dialog and Scroller primitives
This commit is contained in:
111 files changed
+4009
-3917
No files matched your search
@@ -0,0 +1,9 @@
|
||||
.empty-state {
|
||||
flex: 1;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { Heading } from "../Heading";
|
||||
import { Text } from "../Text";
|
||||
import styles from "./index.module.css";
|
||||
|
||||
interface EmptyStateProps {
|
||||
title: string;
|
||||
body: string;
|
||||
}
|
||||
|
||||
export function EmptyState({ title, body }: EmptyStateProps) {
|
||||
return (
|
||||
<div className={styles["empty-state"]}>
|
||||
<Heading size="4">{title}</Heading>
|
||||
<Text lowContrast>{body}</Text>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user