codex-marketplace-ui-compon.../stories/Collapse.stories.tsx

25 lines
561 B
TypeScript
Raw Permalink Normal View History

2024-08-28 08:04:00 +00:00
import type { Meta, StoryObj } from "@storybook/react";
import { Collapse } from "../src/components/Collapse/Collapse";
import "./Collapse.stories.css";
const meta = {
title: "Components/Collapse",
component: Collapse,
parameters: {
layout: "centered",
},
tags: ["autodocs"],
argTypes: {},
} satisfies Meta<typeof Collapse>;
export default meta;
type Story = StoryObj<typeof meta>;
export const Default: Story = {
args: {
summary: "Read more",
details: "More details for collapse component",
className: "collapse-demo",
},
};