Skip to content

Commit

Permalink
chore(storybook): Fix display of property names in storybook (#574)
Browse files Browse the repository at this point in the history
chore(storybook): Fix display of property names in storybook (signature, pagination)
  • Loading branch information
ethanWallace authored Jul 2, 2024
1 parent 49debed commit 28c0ff5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,41 +25,47 @@ export default {
},
},
nextHref: {
name: 'next-href',
control: 'text',
table: {
type: { summary: 'string' },
defaultValue: { summary: '-' },
},
},
nextLabel: {
name: 'next-label',
control: 'text',
table: {
type: { summary: 'string' },
defaultValue: { summary: '-' },
},
},
previousHref: {
name: 'previous-href',
control: 'text',
table: {
type: { summary: 'string' },
defaultValue: { summary: '-' },
},
},
previousLabel: {
name: 'previous-label',
control: 'text',
table: {
type: { summary: 'string' },
defaultValue: { summary: '-' },
},
},
totalPages: {
name: 'total-pages',
control: 'text',
table: {
type: { summary: 'string' },
defaultValue: { summary: '-' },
},
},
currentPage: {
name: 'current-page',
control: 'text',
table: {
type: { summary: 'string' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default {
},
},
hasLink: {
name: 'has-link',
control: { type: 'select' },
options: [false, true],
table: {
Expand Down

0 comments on commit 28c0ff5

Please sign in to comment.