import type { Meta, StoryObj } from '@storybook/react-vite' import { PartCard } from './PartCard' const meta = { title: 'Components/PartCard', component: PartCard, parameters: { layout: 'padded' }, decorators: [(Story) =>
A heading in the part
The blocks of the part, as they are now. They change when the text they came from changes.
> ), }, } /** Still being looked up. */ export const Loading: Story = { args: { state: 'loading', kind: 'issue' } } /** The part, or what it is part of, is gone or not this reader's to see. */ export const NotAvailable: Story = { args: { state: 'unavailable', kind: 'issue', noun: 'Item', openIn: { app: 'App one', href: '#elsewhere' } } }