import { Html, debug_render } from "./html.ts"; import { Component } from "./jsx/jsx-runtime.ts"; const wheel = (...items: Html[]): Html => (
{...items.map(i =>
{i} people
)}
); const Take: Component = ({ subjects, objects, adjectives }, _) => (
{wheel(...subjects)} who eat {wheel(...objects)} are{" "} {wheel(...adjectives)}
); // might want to have the final item be seperate debug_render( );