Skip to content

Commit ae6c8be

Browse files
authored
Fix typo: change "button components" to "button component" (#7519)
* Fix typo: change "button components" to "button component" * fix markdown table formatting
1 parent 675cc2a commit ae6c8be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/components/reference.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -833,12 +833,12 @@ To use this component, you need to send the [message flag](/docs/resources/messa
833833

834834
###### Section Structure
835835

836-
| Field | Type | Description |
837-
|------------|-----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
838-
| type | integer | `9` for section component |
839-
| id? | integer | Optional identifier for component |
840-
| components | array of [text display components](/docs/components/reference#text-display) | One to three text components |
841-
| 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 |
836+
| Field | Type | Description |
837+
|------------|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
838+
| type | integer | `9` for section component |
839+
| id? | integer | Optional identifier for component |
840+
| components | array of [text display components](/docs/components/reference#text-display) | One to three text components |
841+
| 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 |
842842

843843
:::info
844844
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.

0 commit comments

Comments
 (0)