Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions components/cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,7 @@ Use the [Columns component](/components/columns) to organize multiple cards side
<ResponseField name="arrow" type="boolean">
Show or hide the link arrow icon.
</ResponseField>

<ResponseField name="disabled" type="boolean">
Disable the card link and CTA button. When `true`, the card is not clickable.
</ResponseField>
6 changes: 6 additions & 0 deletions components/code-groups.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,9 @@ class HelloWorld {
```
</CodeGroup>
````

## Properties

<ResponseField name="dropdown" type="boolean" default="false">
Replace the tab interface with a dropdown menu for toggling between code blocks.
</ResponseField>
11 changes: 10 additions & 1 deletion components/expandables.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "Expandables"

Check warning on line 2 in components/expandables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/expandables.mdx#L2

Use 'expandables' instead of 'Expandables'.
description: "Toggle expandable sections to show and hide nested object properties in API documentation and response fields."
keywords: ["expandables", "nested properties", "expandable fields", "toggle content"]
---
Expand Down Expand Up @@ -41,5 +41,14 @@
</ResponseField>

<ResponseField name="defaultOpen" type="boolean" default="false">
Set to `true` for the expandable to open when the page loads
Set to `true` for the expandable to open when the page loads.
</ResponseField>

<ResponseField name="onChange" type="(open: boolean) => void">
Callback function invoked when the expandable is opened or closed.

Check warning on line 48 in components/expandables.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/expandables.mdx#L48

In general, use active voice instead of passive voice ('is opened').
</ResponseField>

<ResponseField name="lazy" type="boolean" default="false">
When `true`, children are not rendered until the expandable is first opened. Useful for
improving performance when expandable sections contain heavy content.
</ResponseField>
Loading