Skip to content

Commit

Permalink
fix(tabs): event docs for rh-tab (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Sep 26, 2023
1 parent 3ab978f commit 0c2d42b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .changeset/rh-tabs-expand-event-doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
"@rhds/elements": patch
---
`<rh-tabs>`: corrects the custom element manifest's event name for the `expand` event
2 changes: 1 addition & 1 deletion elements/rh-tabs/rh-tab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import styles from './rh-tab.css';
* @cssprop {<length>} --rh-tabs-link-padding-inline-end - Tab padding inline end {@default 32px`}
* @cssprop {<length>} --rh-tabs-link-padding-block-end - Tab padding block end {@default `16px`}
*
* @fires { TabExpandEvent } tab-expand - when a tab expands
* @fires { TabExpandEvent } expand - when a tab expands
*/
@customElement('rh-tab')
export class RhTab extends BaseTab {
Expand Down

0 comments on commit 0c2d42b

Please sign in to comment.