/*! Strand UI | MIT License | dillingerstaffing.com */ import type { JSX } from "preact"; export interface ButtonProps extends Omit, "size" | "loading" | "type" | "ref"> { variant?: "primary" | "secondary" | "ghost" | "danger"; size?: "sm" | "md" | "lg"; /** Shows the spinner and disables interaction. */ loading?: boolean; /** Square, for an icon with an `aria-label`. */ iconOnly?: boolean; type?: "button" | "submit" | "reset"; disabled?: boolean; /** Stretch to the container width. */ fullWidth?: boolean; /** Render an anchor styled as a button; inferred when `href` is set. */ as?: "button" | "a"; href?: string; } /** * Primary action trigger. * * @example * */ export declare const Button: import("preact").FunctionalComponent & { ref?: import("preact").Ref | undefined; }>; //# sourceMappingURL=Button.d.ts.map