diff --git a/components/doc/common/apidoc/index.json b/components/doc/common/apidoc/index.json index 1de4a3fb2f..96fba4c6a1 100644 --- a/components/doc/common/apidoc/index.json +++ b/components/doc/common/apidoc/index.json @@ -44884,12 +44884,19 @@ "type": "SidebarPassThroughType>", "description": "Uses to pass attributes to the header's DOM element." }, + { + "name": "closeButton", + "optional": true, + "readonly": false, + "type": "SidebarPassThroughType>", + "description": "Uses to pass attributes to the close button's DOM element." + }, { "name": "closeButtonIcon", "optional": true, "readonly": false, "type": "SidebarPassThroughType>", - "description": "Uses to pass attributes to the close button's DOM element." + "description": "Uses to pass attributes to the close button icon's DOM element." }, { "name": "icons", diff --git a/components/lib/sidebar/sidebar.d.ts b/components/lib/sidebar/sidebar.d.ts index 2738e763d4..55c2ef5fd3 100644 --- a/components/lib/sidebar/sidebar.d.ts +++ b/components/lib/sidebar/sidebar.d.ts @@ -41,6 +41,10 @@ export interface SidebarPassThroughOptions { /** * Uses to pass attributes to the close button's DOM element. */ + closeButton?: SidebarPassThroughType>; + /** + * Uses to pass attributes to the close button icon's DOM element. + */ closeButtonIcon?: SidebarPassThroughType>; /** * Uses to pass attributes to the custom icons content's DOM element.