import { Story } from '@storybook/react'; import React from 'react'; import ConditionBadge, { ConditionBadgeProps, } from '../components/Badges/ConditionBadge'; import Card from '../components/Card/Card'; export default { title: 'Components / Badges / Condition Badge', component: ConditionBadge, }; const Template: Story = (args) => ( } description="This is a description of the product" title="Product Title" leftContent={ Some alt text } /> ); export const NewInBox = Template.bind({}); NewInBox.args = { condition: 'nib', }; export const OpenBoxItem = Template.bind({}); OpenBoxItem.args = { condition: 'obi', }; export const LikeNew = Template.bind({}); LikeNew.args = { condition: 'likeNew', }; export const Good = Template.bind({}); Good.args = { condition: 'good', }; export const Fair = Template.bind({}); Fair.args = { condition: 'fair', }; export const Imperfect = Template.bind({}); Imperfect.args = { condition: 'imperfect', }; export const Direction = Template.bind({}); Direction.args = { condition: 'likeNew', direction: 'right', };