mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 21:53:57 -05:00
Most simple components created
This commit is contained in:
16
lib/types/Button.d.ts
vendored
Normal file
16
lib/types/Button.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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>;
|
||||
}
|
||||
Reference in New Issue
Block a user