mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-29 04:44:23 +01:00
18 lines
392 B
TypeScript
18 lines
392 B
TypeScript
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>
|
|
);
|
|
}
|