feat(SW-1509): new select component in design-system

This commit is contained in:
Christian Andolf
2025-04-08 12:54:48 +02:00
parent eb46f08ef1
commit 77e4e9d203
6 changed files with 273 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import 'react-material-symbols/rounded'
import type { Meta, StoryObj } from '@storybook/react'
import { Select } from './Select'
const meta: Meta<typeof Select> = {
title: 'Components/Select',
component: Select,
argTypes: {},
}
export default meta
type Story = StoryObj<typeof Select>
export const Default: Story = {
args: {
icon: 'star',
itemIcon: 'check',
items: ['Foo', 'Bar', 'Baz'],
// items: new Array(30).fill(null).map((_, idx) => idx),
label: 'Select an item',
name: 'foo',
},
}