Skip to content

Commit

Permalink
fix: Missing prop in SidebarPassThroughMethodOptions (#6689)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpajon authored May 27, 2024
1 parent 38faf1e commit 5b6b09b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion components/doc/common/apidoc/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -44884,12 +44884,19 @@
"type": "SidebarPassThroughType<HTMLAttributes<HTMLDivElement>>",
"description": "Uses to pass attributes to the header's DOM element."
},
{
"name": "closeButton",
"optional": true,
"readonly": false,
"type": "SidebarPassThroughType<HTMLAttributes<HTMLButtonElement>>",
"description": "Uses to pass attributes to the close button's DOM element."
},
{
"name": "closeButtonIcon",
"optional": true,
"readonly": false,
"type": "SidebarPassThroughType<HTMLAttributes<HTMLSpanElement>>",
"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",
Expand Down
4 changes: 4 additions & 0 deletions components/lib/sidebar/sidebar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ export interface SidebarPassThroughOptions {
/**
* Uses to pass attributes to the close button's DOM element.
*/
closeButton?: SidebarPassThroughType<React.HTMLAttributes<HTMLButtonElement>>;
/**
* Uses to pass attributes to the close button icon's DOM element.
*/
closeButtonIcon?: SidebarPassThroughType<React.HTMLAttributes<HTMLSpanElement>>;
/**
* Uses to pass attributes to the custom icons content's DOM element.
Expand Down

0 comments on commit 5b6b09b

Please sign in to comment.