import React from 'react'; import { Stack } from '../src/lib'; import { Input } from '../src/lib/components/inputv2/inputv2'; import { Select } from '../src/lib/components/selectv2/Selectv2.component'; import { Wrapper } from './common'; import styled from 'styled-components'; import { Meta } from '@storybook/react-webpack5'; const options = Array.from(new Array(10), (_, index) => ( {`Label-option ${index}`} )); const sizes = ['1/3', '1/2', '2/3', '1']; const SelectWrapper = styled.div` display: flex; justify-content: space-around; `; const meta: Meta = { title: 'Components/Inputs/SelectInput', component: Select, decorators: [(story) => {story()}], args: { children: options, }, argTypes: { children: { control: false, }, }, }; export default meta; export const Playground = {}; export const Disabled = { args: { disabled: true, }, }; export const RoundedVariant = { args: { variant: 'rounded', }, }; export const DifferentSizes = { render: (args) => ( {sizes.map((size) => ( ))} ), }; export const Default = { render: ({}) => ( ), };