mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-07 14:13:58 -05:00
Fix broken types in imported library
This commit is contained in:
16
lib/types/ButtonTypes.ts
Normal file
16
lib/types/ButtonTypes.ts
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