From 78a2add1a57fb7c88091a24efbdb060182e5a3b7 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 18 Nov 2025 01:56:23 +0100 Subject: [PATCH] USRBG: improve settings ui --- src/components/Button.tsx | 15 +++++++++++++++ src/plugins/usrbg/index.tsx | 6 ++++-- 2 files changed, 19 insertions(+), 2 deletions(-) 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 (