Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions packages/storybook/src/Card.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import type { Meta, StoryObj } from '@storybook/react';
import {
Card,
Expand All @@ -21,10 +22,10 @@ import {
} from './story-helpers';

const PLACEHOLDER_16_9 = 'https://picsum.photos/seed/card1/800/450';
const PLACEHOLDER_16_9_B = 'https://picsum.photos/seed/card2/800/450';
const PLACEHOLDER_16_9_C = 'https://picsum.photos/seed/card3/800/450';

const meta: Meta<typeof Card> = {
type CardStoryArgs = React.ComponentProps<typeof Card> & { showImage: boolean };

const meta: Meta<CardStoryArgs> = {
title: 'Components/Card',
component: Card,
parameters: {
Expand Down Expand Up @@ -62,7 +63,7 @@ const meta: Meta<typeof Card> = {
};

export default meta;
type Story = StoryObj<typeof Card>;
type Story = StoryObj<CardStoryArgs>;

// =============================================================================
// DEFAULT
Expand Down
Loading