hh-ui-components
Version:
17 lines (16 loc) • 625 B
TypeScript
/// <reference types="react" />
interface ButtonProps {
variants?: "primary" | "secondary" | "tertiary" | "small2" | "hoverUnderline";
type?: "button" | "submit" | "reset";
color?: "default" | "black" | "white";
size?: "default" | "small" | "medium" | "large";
width?: "default" | "full" | "fit";
id?: string;
ariaLabel?: string;
label: string;
className?: string;
disabled?: boolean;
onClick?: () => void;
}
export declare const Button: ({ variants, type, color, id, ariaLabel, size, width, label, className, disabled, onClick, ...props }: ButtonProps) => JSX.Element;
export {};