import React from 'react'; import type { Meta, StoryObj } from '@storybook/react-vite'; import { Accordion } from './Accordion'; const meta: Meta = { title: 'UI kit/Accordion', component: Accordion, tags: ['autodocs'], }; export default meta; type Story = StoryObj; export const Default: Story = { argTypes: { children: { control: false } }, args: {}, render: args => ( This is my content 1 This is my content 2 This is my content 3 ), }; export const Dense: Story = { args: { dense: true }, render: args => ( This is my content 1 This is my content 2 This is my content 3 ), }; export const SingleExpand: Story = { args: { divider: 'topBottom', multiple: false }, render: args => ( I will be closed when the other item is open. I will be closed when the other item is open. I will be closed when the other item is open. ), }; export const WithTopAndBottomDivider: Story = { args: { divider: 'topBottom' }, render: args => ( Yes, you can leverage Shoptet Campaigns in addition to your existing campaigns on Google. Before we launch your advertisement, please review and examine everything to see how and where it will appear within the Google advertising system. Once you approve everything, Google will begin approving the ads before publishing them. This process may take several hours to two days. Therefore, we ask for your patience. Yes, you will have access to the account where the campaigns are running. Yes, campaigns can be updated over time based on your business goals and current performance. ), }; export const WithBackground: Story = { args: { withBackground: true }, render: args => ( This is my content 1 This is my content 2 This is my content 3 ), }; export const WithTopDividerAndBackground: Story = { args: { withBackground: true, divider: 'top' }, render: args => ( This is my content 1 This is my content 2 This is my content 3 ), }; export const WithTopDivider: Story = { args: { divider: 'top' }, render: args => ( This is my content 1 This is my content 2 This is my content 3 ), }; export const WithBottomDivider: Story = { args: { divider: 'bottom' }, render: args => ( This is my content 1 This is my content 2 This is my content 3 ), };