From 3bf1d0833b4074fe945ef63fa1a3ae45580ecb8c Mon Sep 17 00:00:00 2001 From: khcrysalis <97859147+khcrysalis@users.noreply.github.com> Date: Fri, 22 Nov 2024 00:50:38 -0800 Subject: [PATCH] feat: new donate card --- src/components/DonateButton.tsx | 10 ++- .../VencordSettings/SpecialCard.tsx | 29 +++++--- src/components/VencordSettings/VencordTab.tsx | 66 ++++++++----------- .../VencordSettings/specialCard.css | 3 +- 4 files changed, 56 insertions(+), 52 deletions(-) diff --git a/src/components/DonateButton.tsx b/src/components/DonateButton.tsx index c027fcf27..d042dc04d 100644 --- a/src/components/DonateButton.tsx +++ b/src/components/DonateButton.tsx @@ -20,12 +20,16 @@ import { Button } from "@webpack/common"; import { Heart } from "./Heart"; -export default function DonateButton(props: any) { +export default function DonateButton({ + look = Button.Looks.LINK, + color = Button.Colors.TRANSPARENT, + ...props +}) { return (