17 lines
538 B
TypeScript
17 lines
538 B
TypeScript
import type { ComponentProps } 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 Omit<ComponentProps<"button">, "size" | "type"> {
|
|
type?: "button" | "submit" | "reset";
|
|
rounding?: ButtonRounding;
|
|
shape?: ButtonShape;
|
|
size?: ButtonSize;
|
|
variant?: ButtonVariant;
|
|
}
|