Skip to content

Commit

Permalink
chore: add Accordion to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandar-r committed Mar 22, 2024
1 parent 72ef6aa commit 6acc951
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/core/Accordion/Accordion.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import Accordion from "./component.tsx";

export default {
title: "Components/Accordion",
component: Accordion,
args: {
data: [
{
name: "Item 1",
content: "Content 1",
},
{
name: "Item 2",
content: "Content 2",
},
{
name: "Item 3",
content: "Content 3",
},
{
name: "Item 4",
content: "Content 4",
},
],
},
};

export const Default = {};

0 comments on commit 6acc951

Please sign in to comment.