Skip to content

Commit 448b5a9

Browse files
authored
Fix topbarCtaButton prop requirements in Global Settings
1 parent 24f1616 commit 448b5a9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

settings/global.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -259,16 +259,16 @@ settings. Learn more about the [properties](#properties) or from an
259259

260260
<ResponseField name="topbarCtaButton" type="Call to Action">
261261
<Expandable title="Topbar Call to Action">
262-
<ResponseField name="type" type={"link or github"} default="link">
263-
Link shows a button. GitHub shows the repo information at the url provided
264-
including the number of GitHub stars.
262+
<ResponseField name="name" type="string" required>
263+
Text inside the button. Only required if type is a link.
265264
</ResponseField>
266-
<ResponseField name="url" type="string">
265+
<ResponseField name="url" type="string" required>
267266
If type is a link: What the button links to. If type is a github: Link to
268267
the repository to load GitHub information from.
269268
</ResponseField>
270-
<ResponseField name="name" type="string">
271-
Text inside the button. Only required if type is a link.
269+
<ResponseField name="type" type={"link or github"} default="link">
270+
Link shows a button. GitHub shows the repo information at the url provided
271+
including the number of GitHub stars.
272272
</ResponseField>
273273
<ResponseField name="style" type={'"pill" | "roundedRectangle"'}>
274274
The style of the button.

0 commit comments

Comments
 (0)