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.
 
 
 
 
spa_instat_tv/src/features/Button/stories.tsx

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>
)