fix link stories not working in all renderers

This commit is contained in:
Jeppe Reinhold 2024-04-24 14:59:27 +02:00
parent c3eb41261a
commit caf3f2a203
2 changed files with 16 additions and 2 deletions

View File

@ -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 = {

View File

@ -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 = {