WIP! A BB-style forum, on the ATmosphere! We're still working... we'll be back soon when we have something to show off!
node typescript hono htmx atproto
at atb-52-css-token-extraction 17 lines 437 B view raw
1import type { FC, Child } from "hono/jsx"; 2 3interface PageHeaderProps { 4 title: string; 5 description?: string; 6 action?: Child; 7} 8 9export const PageHeader: FC<PageHeaderProps> = ({ title, description, action }) => ( 10 <div class="page-header"> 11 <div class="page-header__text"> 12 <h1>{title}</h1> 13 {description && <p>{description}</p>} 14 </div> 15 {action && <div class="page-header__action">{action}</div>} 16 </div> 17);