docs(Container): update example usage

Resolves #11297.
This commit is contained in:
Jiralite
2025-11-28 10:24:58 +00:00
parent f5b3f842e3
commit e77793898a

View File

@@ -71,7 +71,8 @@ export class ContainerBuilder extends ComponentBuilder<APIContainerComponent> {
* }, * },
* ], * ],
* }) * })
* .addComponents(separator, section); * .addSeparatorComponents(separator)
* .addSectionComponents(section);
* ``` * ```
*/ */
public constructor({ components, ...data }: Partial<APIContainerComponent> = {}) { public constructor({ components, ...data }: Partial<APIContainerComponent> = {}) {