Skip to content

Commit

Permalink
fix(table): output actual caption
Browse files Browse the repository at this point in the history
  • Loading branch information
brentswisher committed Jan 28, 2025
1 parent 6397366 commit 2904267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/pharos/src/components/table/pharos-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class PharosTable extends ScopedRegistryMixin(PharosElement) {
['visually-hidden']: this.hideCaption,
})}
>
An example table
${this.caption}
</div>
<div
class=${classMap({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const StickyHeader = {
},
};

export const PassingRowData = {
export const RowData = {
render: ({ columns, rowData, showPagination }) => html`
<storybook-pharos-table
.columns="${columns}"
Expand Down Expand Up @@ -219,7 +219,7 @@ export const PassingRowData = {
},
};

export const PassingRowDataWithPagination = {
export const RowDataWithPagination = {
render: ({ columns, showPagination }) => html`
<storybook-pharos-table
.columns="${columns}"
Expand Down

0 comments on commit 2904267

Please sign in to comment.