Skip to content
Merged
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
12 changes: 6 additions & 6 deletions docs/components/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -833,12 +833,12 @@ To use this component, you need to send the [message flag](/docs/resources/messa

###### Section Structure

| Field | Type | Description |
|------------|-----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
| type | integer | `9` for section component |
| id? | integer | Optional identifier for component |
| components | array of [text display components](/docs/components/reference#text-display) | One to three text components |
| accessory | [thumbnail component](/docs/components/reference#thumbnail) or [button components](/docs/components/reference#button) | A thumbnail or a button component, with a future possibility of adding more compatible components |
| Field | Type | Description |
|------------|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
| type | integer | `9` for section component |
| id? | integer | Optional identifier for component |
| components | array of [text display components](/docs/components/reference#text-display) | One to three text components |
| accessory | [thumbnail component](/docs/components/reference#thumbnail) or [button component](/docs/components/reference#button) | A thumbnail or a button component, with a future possibility of adding more compatible components |

:::info
Don't hardcode `components` to contain only text components. We may add other components in the future. Similarly, `accessory` may be expanded to include other components in the future.
Expand Down