mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-18 05:02:24 +08:00
fixes
This commit is contained in:
parent
752afaf992
commit
c04dfb7153
@ -11,24 +11,34 @@ export default {
|
||||
},
|
||||
};
|
||||
|
||||
export const ID = {
|
||||
args: {
|
||||
onClick: linkTo('addons-links-parameters--basic'),
|
||||
},
|
||||
};
|
||||
export const Title = {
|
||||
args: {
|
||||
onClick: linkTo('addons-links-parameters'),
|
||||
},
|
||||
};
|
||||
export const Basic = {
|
||||
args: {
|
||||
onClick: linkTo('basic'),
|
||||
onClick: linkTo('addons-links-parameters', 'basic'),
|
||||
},
|
||||
};
|
||||
export const Other = {
|
||||
args: {
|
||||
onClick: linkTo('basic'),
|
||||
onClick: linkTo('addons-links-parameters', 'basic'),
|
||||
},
|
||||
};
|
||||
export const Third = {
|
||||
args: {
|
||||
onClick: linkTo('other'),
|
||||
onClick: linkTo('addons-links-parameters', 'other'),
|
||||
},
|
||||
};
|
||||
|
||||
export const Callback = {
|
||||
args: {
|
||||
onClick: linkTo('Addons/Links', (event: Event) => 'basic'),
|
||||
onClick: linkTo('addons-links-parameters', (event: Event) => 'basic'),
|
||||
},
|
||||
};
|
||||
|
@ -13,7 +13,7 @@ export const Basic = {
|
||||
args: {
|
||||
content: `
|
||||
<div>
|
||||
<div style="marginBottom=100vh"></div>
|
||||
<div style="marginBottom:100vh"></div>
|
||||
<a class="link" href="#" data-sb-story="basic">go to basic</a>
|
||||
</div>
|
||||
`,
|
||||
@ -23,7 +23,7 @@ export const Other = {
|
||||
args: {
|
||||
content: `
|
||||
<div>
|
||||
<div style="marginBottom=100vh"></div>
|
||||
<div style="marginBottom:100vh"></div>
|
||||
<a class="link" href="#" data-sb-story="basic">to to basic</a>
|
||||
</div>
|
||||
`,
|
||||
@ -33,7 +33,7 @@ export const Third = {
|
||||
args: {
|
||||
content: `
|
||||
<div>
|
||||
<div style="marginBottom=100vh"></div>
|
||||
<div style="marginBottom:100vh"></div>
|
||||
<a class="link" href="#" data-sb-story="other">go to other</a>
|
||||
</div>
|
||||
`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user