Skip to content

Commit 747295c

Browse files
Revise README
1 parent 4b1bded commit 747295c

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,10 @@ const props: supportUsButtonProps = {
178178
},
179179

180180
organizationInformation: {
181+
className: ""
181182
name: "", // ← your organization name
182183
description: "", // ← short org description
183-
logo: { src: "", alt: "" }, //org logo (or pass a string for text fallback)
184+
logo: { src: "", alt: "" }, //Add file path to src and alt text for accessibility. Note: Accepts ReactNode JSX elements
184185
projectInformation: {
185186
name: "", // ← your project name
186187
description: "",// ← short project description
@@ -197,7 +198,13 @@ const props: supportUsButtonProps = {
197198
title: "", // ← CTA heading
198199
description: "", // ← why people should sponsor
199200
sponsorLink: [
200-
{ name: "", url: "", icon: null, newTab: true },
201+
{
202+
name: "Examplename"
203+
className: "sponsor-link",
204+
url: "https://example.com/sponsor",
205+
icon: null, // This Accepts ReactNode element(JSX)
206+
newTab: true
207+
},
201208
// Add one entry per sponsorship platform
202209
],
203210
},

0 commit comments

Comments
 (0)