import React from 'react' import { action } from '@storybook/addon-actions' import { text, withKnobs } from '@storybook/addon-knobs' import Badge from './index' import Btn from '../Btn' import './_index.scss' export default { title: 'Badge', component: Badge, decorators: [withKnobs], } export const Default = () => ( {text('Text', 'Lorem Ipsum')} ) export const Fill = () => ( {text('Text', 'Lorem Ipsum')} ) export const BadgeAndHeading = () => (

{text('Heading Text', 'Lorem Ipsum')}{' '} {text('Badge Text', 'Live')}

) export const BadgeAndButton = () => ( Notifications{' '} {text('Badge Text', '9')} ) export const BadgeClick = () => ( Lipsum ) export const BadgeList = () => ( <> #foo #bar #baz )