New source found from dndbeyond.com

This commit is contained in:
2025-06-05 01:00:10 -07:00
parent 3954b12f5d
commit 451d940294
14 changed files with 88 additions and 35 deletions
+4 -4
View File
@@ -5,22 +5,22 @@ import type {
AllHTMLAttributes,
ButtonHTMLAttributes,
FC,
PropsWithChildren,
ReactNode,
} from "react";
import styles from "./styles/Button.module.css";
import sizeStyles from "./styles/ButtonSizes.module.css";
import variantStyles from "./styles/ButtonVariants.module.css";
export interface ButtonProps
extends PropsWithChildren,
Omit<
extends Omit<
AllHTMLAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement>,
"size" | "type"
>,
Pick<ButtonHTMLAttributes<HTMLButtonElement>, "type"> {
children?: ReactNode;
className?: string;
color?: "primary" | "secondary" | "success" | "info" | "warning" | "error";
variant?: "solid" | "outline" | "text";
variant?: "solid" | "outline" | "text" | "tool";
size?: "x-small" | "small" | "medium" | "large" | "x-large";
isDiv?: boolean;
}