import { ComponentStory, ComponentMeta } from '@storybook/react'; import { Button } from '@tih/ui'; import React from 'react'; //๐Ÿ‘‡ This default export determines where your story goes in the story list export default { /* ๐Ÿ‘‡ The title prop is optional. * See https://storybook.js.org/docs/react/configure/overview#configure-story-loading * to learn how to generate automatic titles */ title: 'Button', component: Button, } as ComponentMeta; //๐Ÿ‘‡ We create a โ€œtemplateโ€ of how args map to rendering const Template: ComponentStory = (args) =>