grain.social is a photo sharing platform built on atproto.
1import { cn } from "@bigmoves/bff/components";
2import { ComponentChildren, JSX } from "preact";
3
4export function Header({
5 children,
6 class: classProp,
7 ...props
8}: Readonly<
9 JSX.HTMLAttributes<HTMLHeadingElement> & { children: ComponentChildren }
10>) {
11 return (
12 <h1 class={cn("text-xl font-semibold", classProp)} {...props}>
13 {children}
14 </h1>
15 );
16}