mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
docs: button-story-with-blue-args
This commit is contained in:
parent
76f5d693a1
commit
dc5fc8f697
19
docs/snippets/vue/button-story-with-blue-args.js.mdx
Normal file
19
docs/snippets/vue/button-story-with-blue-args.js.mdx
Normal file
@ -0,0 +1,19 @@
|
||||
```js
|
||||
// Button.stories.js
|
||||
|
||||
import Button from './Button';
|
||||
|
||||
export default {
|
||||
title: 'Components/Button',
|
||||
component: Button,
|
||||
parameters: {
|
||||
backgrounds: {
|
||||
values: [
|
||||
{ name: 'red', value: '#f00' },
|
||||
{ name: 'green', value: '#0f0' },
|
||||
{ name: 'blue', value: '#00f' },
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
```
|
@ -158,6 +158,7 @@ For instance, suppose you wanted to test your Button component against a differe
|
||||
paths={[
|
||||
'react/button-story-with-blue-args.js.mdx',
|
||||
'react/button-story-with-blue-args.ts.mdx',
|
||||
'vue/button-story-with-blue-args.js.mdx',
|
||||
'angular/button-story-with-blue-args.ts.mdx',
|
||||
]}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user