From 146917cd0f6dd12b49bb90fccd88dfc517c02a7a Mon Sep 17 00:00:00 2001 From: Jacob <186802484+imjac0b@users.noreply.github.com> Date: Fri, 25 Apr 2025 20:46:26 +0800 Subject: [PATCH 1/2] Fix typo: change "button components" to "button component" --- docs/components/reference.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/reference.mdx b/docs/components/reference.mdx index ea279a83ca..197da14183 100644 --- a/docs/components/reference.mdx +++ b/docs/components/reference.mdx @@ -838,7 +838,7 @@ To use this component, you need to send the [message flag](/docs/resources/messa | 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 | +| 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. From 19181a98ad3c514ff7f386ce451ea60e50ff97c4 Mon Sep 17 00:00:00 2001 From: imjac0b <186802484+imjac0b@users.noreply.github.com> Date: Sun, 27 Apr 2025 00:22:14 +0800 Subject: [PATCH 2/2] fix markdown table formatting --- docs/components/reference.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/components/reference.mdx b/docs/components/reference.mdx index 197da14183..eb6ffd96ea 100644 --- a/docs/components/reference.mdx +++ b/docs/components/reference.mdx @@ -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 component](/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.