import type { Meta, StoryObj } from '@storybook/react';
import { List } from '.';
import { ConfigContext, CustomThemeProvider } from '@samagra-x/stencil-provider';
const meta = {
title: 'Molecule/List',
component: List,
tags: ['autodocs'],
args: {
items: [
{ id: '1', label: 'item1' },
{ id: '2', label: 'item2' },
{ id: '3', label: 'item3' },
],
},
decorators: [
(Story) => (
),
],
} satisfies Meta;
export default meta;
type Story = StoryObj;
export const ListComponent: Story = {};