You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
428 B
20 lines
428 B
import React from 'react'
|
|
|
|
import { action } from '@storybook/addon-actions'
|
|
|
|
import { Button } from 'features/Button'
|
|
|
|
export default {
|
|
component: Button,
|
|
title: 'Button',
|
|
}
|
|
|
|
export const Text = () => <Button onClick={action('clicked')}>Hello Button</Button>
|
|
|
|
export const Emoji = () => (
|
|
<Button onClick={action('clicked')}>
|
|
<span role='img' aria-label='so cool'>
|
|
😀 😎 👍 💯
|
|
</span>
|
|
</Button>
|
|
)
|
|
|