import { Story } from '@storybook/react'; import React from 'react'; import Card, { CardTypes } from '../components/Card/Card'; import Badge from '../components/Badges/Badge'; import ConditionBadge from '../components/Badges/ConditionBadge'; const meta = { title: 'Components / Card', component: Card, parameters: { controls: { expanded: true }, }, }; export default meta; const Template: Story = (args) => ; export const Default = Template.bind({}); Default.args = { footerCopy: 'Im a footer', headerCopy: 'Im a header', leftContent: ( Some alt text ), title: 'The Title', description: 'This is my description', }; export const WithBadge = Template.bind({}); WithBadge.args = { badge: ( ), leftContent: ( Some alt text ), title: 'With Badge', }; export const WithConditionBadge = Template.bind({}); WithConditionBadge.args = { badge: , leftContent: ( Some alt text ), title: 'With Badge', };