import { type MouseEvent, type ReactNode } from "react"; import type { SX } from "../../theme"; import { type IconName } from "../Icon"; export interface ButtonProps { children?: ReactNode; /** * If true, children must be a valid ReactElement and it will be used as the * top level component instead of