import * as React from "react"; import { Theme } from "../../themes"; import type { JSX } from "react"; export type ButtonSize = "small" | "medium" | "large"; export type ButtonColor = "primary" | "primarySubtle" | "secondaryLight" | "secondaryDark" | "danger" | "clear"; export type ButtonColorStyle = { normal: { background: string; color: string; boxShadow: string; border: string; }; hover: { background?: string; border: string; }; active: { background?: string; boxShadow: string; border: string; }; }; export type Padding = { theme: Theme; size: ButtonSize; color: ButtonColor; }; type baseProps = { /** * The component used for the root node. * Default: `