import { css } from "@/styled-system/css"; import { ComponentChild, ComponentProps } from "preact"; type ButtonProps = ComponentProps<"button"> & { children: ComponentChild; onClick?: (event: MouseEvent) => void; type?: "button" | "submit" | "reset"; } export default function Button({ children, type, onClick, ...props }: ButtonProps) { return ( ); }