import type { Meta, StoryObj } from '@storybook/react'; import HistoryCard from './HistoryCard'; import './HistoryCard.scss'; const meta: Meta = { title: 'Components/HistoryCard', component: HistoryCard, parameters: { layout: 'centered', }, tags: ['autodocs'], }; type Story = StoryObj; export const Approved: Story = { args: { comment: 'Requested the element for review to use in a login to fireflink scripts', title: [ Nithin, ' approved the Element on', 19 Dec 2023 , '1.30 PM', ], state: 'approved', version: '1.0', variant: 'success', profileShortName: 'PB', }, }; export const Review: Story = { args: { ...Approved.args, comment: 'Requested the element for review to use in a login to fireflink scripts', variant: 'warning', title: [ Sourab, ' Requested The Element For Review For', Nithin , 'On', 19 Dec 2023 , '1.30 PM', ], }, }; export default meta;