From 6acc951c6d243289422864804c78e88410e8b202 Mon Sep 17 00:00:00 2001 From: Aleksandar Ristic Date: Fri, 22 Mar 2024 16:43:16 +0100 Subject: [PATCH] chore: add Accordion to storybook --- src/core/Accordion/Accordion.stories.tsx | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/core/Accordion/Accordion.stories.tsx diff --git a/src/core/Accordion/Accordion.stories.tsx b/src/core/Accordion/Accordion.stories.tsx new file mode 100644 index 00000000..ddb4f9bb --- /dev/null +++ b/src/core/Accordion/Accordion.stories.tsx @@ -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 = {};