storybook/docs/snippets/web-components/button-story-using-args.js.mdx
Kyle Gach b97d94e005 Address feedback
- Newline following filename comment
- Fix URLs in comments
- Ensure consistent usage of `ts` vs `tsx` language
2023-01-12 14:17:39 -07:00

30 lines
383 B
Plaintext

```js
// Button.stories.js
export default {
title: 'Button',
component: 'demo-button',
};
export const Primary = {
args: {
background: '#ff0',
label: 'Button',
},
};
export const Secondary = {
args: {
...Primary.args,
label: '😄👍😍💯',
},
};
export const Tertiary = {
args: {
...Primary.args,
label: '📚📕📈🤓',
},
};
```