Initial commit 🚀

This commit is contained in:
Felix Klement committed 2026-10-09 14:00:40 +02:00
commit fd58a8d32f
235 files changed
+19775

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import type { ReactNode } from 'react';
export interface DisplayProps {
/** h1 by default. One h1 per page. */
as?: 'h1' | 'h2' | 'p';
children?: ReactNode;
}
/** The largest type on the page. Break its lines by hand; it is a composed object. */
export function Display({ as: Tag = 'h1', children }: DisplayProps) {
return <Tag className="display">{children}</Tag>;
}