diff --git a/src/components/Button.tsx b/src/components/Button.tsx index b3df68aba..b4390c232 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -12,6 +12,7 @@ import type { Button as DiscordButton } from "@vencord/discord-types"; import type { ComponentPropsWithRef } from "react"; import { OpenExternalIcon } from "./Icons"; +import { Link } from "./Link"; const btnCls = classNameFactory("vc-btn-"); const textBtnCls = classNameFactory("vc-text-btn-"); @@ -25,6 +26,11 @@ export type ButtonProps = ComponentPropsWithRef<"button"> & { size?: ButtonSize; }; +export type LinkButtonProps = ComponentPropsWithRef<"a"> & { + size?: ButtonSize; + variant?: ButtonVariant; +}; + export function Button({ variant = "primary", size = "medium", children, className, ...restProps }: ButtonProps) { return (