mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-02-08 21:59:39 +01:00
20 lines
429 B
TypeScript
20 lines
429 B
TypeScript
import type { Meta, StoryObj } from "@storybook/react"
|
|
|
|
import { BLOG_POST_MOCK } from "../BlogPost.ts"
|
|
import { BlogPosts as BlogPostsComponent } from "../BlogPosts.tsx"
|
|
|
|
const meta = {
|
|
title: "Blog/BlogPosts",
|
|
component: BlogPostsComponent,
|
|
} satisfies Meta<typeof BlogPostsComponent>
|
|
|
|
export default meta
|
|
|
|
type Story = StoryObj<typeof meta>
|
|
|
|
export const BlogPosts: Story = {
|
|
args: {
|
|
posts: [BLOG_POST_MOCK],
|
|
},
|
|
}
|