import { Component } from '.'; import Template, { code } from './_story'; import description from './_story.md'; import { argTypes } from '@techytools/ui/helpers/storybook_args'; import variants from './styles'; const variantKeys = Object.keys(variants); export const Select = Template.bind({}); Select.args = { size: 'md', }; Select.argTypes = { size: { control: { type: 'select', }, options: ['xs', 'sm', 'md', 'lg', 'xl'], }, ...argTypes({ localVariants: variantKeys }), }; export default { title: 'Form/Select', component: Component, parameters: { viewMode: 'docs', previewTabs: { canvas: { hidden: true }, }, docs: { description: { component: description, }, source: { code, }, }, }, };