import { VNode } from 'https://esm.sh/v128/preact@10.19.6/src/index.js' import { JSX } from 'preact' interface Budget { name: string target: number buffer?: number } interface IconButtonProps { text: string icon: string } function IconButton( { icon, text, ...props }: & IconButtonProps & JSX.HTMLAttributes, ) { return ( {icon} {text} ) } export default function Home() { return (
This is the main content
) }