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-59-theme-editor 13 lines 342 B view raw
1import type { FC } from "hono/jsx"; 2 3interface ErrorDisplayProps { 4 message: string; 5 detail?: string; 6} 7 8export const ErrorDisplay: FC<ErrorDisplayProps> = ({ message, detail }) => ( 9 <div class="error-display"> 10 <p class="error-display__message">{message}</p> 11 {detail && <p class="error-display__detail">{detail}</p>} 12 </div> 13);