Skip to content

Commit

Permalink
fix link stories not working in all renderers
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Apr 24, 2024
1 parent c3eb412 commit caf3f2a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
11 changes: 10 additions & 1 deletion code/addons/links/template/stories/decorator.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ export default {
};

export const Target = {
render: () => 'This is just a story to target with the links',
args: {
content: `
<div>
This is just a story to target with the links
</div>
`,
},
parameters: {
chromatic: { disable: true },
},
};

export const KindAndStory = {
Expand Down
7 changes: 6 additions & 1 deletion code/addons/links/template/stories/linkto.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ export default {
};

export const Target = {
render: () => 'This is just a story to target with the links',
args: {
label: 'This is just a story to target with the links',
},
parameters: {
chromatic: { disable: true },
},
};

export const Id = {
Expand Down

0 comments on commit caf3f2a

Please sign in to comment.