storybook/docs/snippets/angular/button-story-with-emojis.ts.mdx

32 lines
462 B
Plaintext

```ts
// Button.stories.ts
import Button from './button.component';
export default {
title: 'Components/Button',
component: Button,
};
export const Primary = () => ({
props: {
label: 'Button',
background: '#ff0',
},
});
export const Secondary = () => ({
props: {
label: '😄👍😍💯',
background: '#ff0',
},
});
export const Tertiary = () => ({
props: {
label: '📚📕📈🤓',
background: '#ff0',
},
});
```