Norbert de Langen 0207731601
remove all references to addon-links in examples
create renderer agnostic stories in addons/links/template/stories
2022-09-07 12:10:19 +02:00

42 lines
848 B
TypeScript

import globalThis from 'global';
import { withLinks } from '@storybook/addon-links';
export default {
component: globalThis.Components.Html,
parameters: {
chromatic: { disable: true },
},
decorators: [withLinks],
};
export const Basic = {
args: {
content: `
<div>
<div style="marginBottom=100vh"></div>
<a class="link" href="#" data-sb-story="basic">go to basic</a>
</div>
`,
},
};
export const Other = {
args: {
content: `
<div>
<div style="marginBottom=100vh"></div>
<a class="link" href="#" data-sb-story="basic">to to basic</a>
</div>
`,
},
};
export const Third = {
args: {
content: `
<div>
<div style="marginBottom=100vh"></div>
<a class="link" href="#" data-sb-story="other">go to other</a>
</div>
`,
},
};