mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-07 14:13:58 -05:00
17 lines
532 B
TypeScript
17 lines
532 B
TypeScript
import type { ButtonHTMLAttributes, Ref } from "react";
|
|
|
|
|
|
export type ButtonRounding = "none" | "sm" | "md" | "lg" | "full";
|
|
export type ButtonShape = "rectangle" | "square";
|
|
export type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
export type ButtonVariant = "standard" | "outline" | "ghost" | "outline-ghost" | "icon";
|
|
|
|
|
|
export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>{
|
|
rounding?: ButtonRounding;
|
|
shape?: ButtonShape;
|
|
size?: ButtonSize;
|
|
variant?: ButtonVariant;
|
|
ref?: Ref<HTMLButtonElement>;
|
|
}
|