Update various components
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { ButtonHTMLAttributes } from "react";
|
||||
import type { ComponentProps } from "react";
|
||||
|
||||
|
||||
export type ButtonRounding = "none" | "sm" | "md" | "lg" | "full";
|
||||
@@ -7,7 +7,7 @@ export type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
|
||||
export type ButtonVariant = "standard" | "outline" | "ghost" | "outline-ghost" | "icon";
|
||||
|
||||
|
||||
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size" | "type"> {
|
||||
export interface ButtonProps extends Omit<ComponentProps<"button">, "size" | "type"> {
|
||||
type?: "button" | "submit" | "reset";
|
||||
rounding?: ButtonRounding;
|
||||
shape?: ButtonShape;
|
||||
|
||||
Reference in New Issue
Block a user