Skip to content

Commit

Permalink
Merge pull request #1825 from qld-gov-au/QOLDEV-907-update-storybook-…
Browse files Browse the repository at this point in the history
…params-cards-tags

QOLDEV-907 updates story params for Cards and Tags
  • Loading branch information
elvishu authored Jul 24, 2024
2 parents b00c337 + 54f36f4 commit 660a57c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/stories/components/Cards/Cards.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,43 @@ export default {
};

export const Basic = {
render: () => Basic,
render: () => BasicTemplate,
name: 'Basic',
parameters: getDecoratedParameters(BasicTemplate),
};

export const WithActionButton = {
render: () => WithActionButton,
render: () => WithActionButtonTemplate,
name: 'WithActionButton',
parameters: getDecoratedParameters(WithActionButtonTemplate),
};

export const WithImage = {
render: () => WithImage,
render: () => WithImageTemplate,
name: 'WithImage',
parameters: getDecoratedParameters(WithImageTemplate),
};

export const WithThumbnail = {
render: () => WithThumbnail,
render: () => WithThumbnailTemplate,
name: 'WithThumbnail',
parameters: getDecoratedParameters(WithThumbnailTemplate),
};

export const Clickable = {
render: () => Clickable,
render: () => ClickableTemplate,
name: 'Clickable',
parameters: getDecoratedParameters(ClickableTemplate),
};

export const CardColumns = {
render: () => CardColumns,
render: () => CardColumnsTemplate,
name: 'CardColumns',
parameters: getDecoratedParameters(CardColumnsTemplate),
};

export const CardsWithTags = {
render: () => CardsWithTags,
render: () => CardsWithTagsTemplate,
name: 'CardsWithTags',
parameters: getDecoratedParameters(CardsWithTagsTemplate),
};
2 changes: 1 addition & 1 deletion src/stories/components/Tag/Tag.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
};

export const Default = {
render: () => Default,
render: () => DefaultTemplate,
name: 'Default',
height: '50px',
parameters: getDecoratedParameters(DefaultTemplate),
Expand Down

0 comments on commit 660a57c

Please sign in to comment.