import { Html } from "./html.ts"; import { Component } from "./jsx/jsx-runtime.ts"; export const Main: Component = (attributes, children) => (
{...children}
); export const HCenter: Component = (attributes, children) => (
{...children}
); export const styles = (s: Record): string => Object.entries(s) .map(([rule, val]) => `${rule}: ${val};`) .join(""); export const eggbug_emotions: Record = { smiling: ( eggbug, smiling ), }; export const EggbugImg: Component = ({ type }) => eggbug_emotions[type];