fix: storybook with typescript (#2926)

* fix storybook for typescript

* fix babel
This commit is contained in:
Alireza authored and GitHub committed 2022-09-13 08:57:22 -04:00
1 parent 1b30ff83a5
commit f9449e97df
38 files changed
+153 -130

No files matched your search

@@ -9,14 +9,14 @@ export const argTypes = {
<Meta title="Components/Dropdown" component={Dropdown} />
export const DropdownTemplate = (args) => (
export const DropdownTemplate = args => (
// Todo: this should not set a background
<div className="flex h-32">
<Dropdown {...args} />
</div>
);
<Heading title="Dropdown" componentRelativePath="Dropdown/Dropdown.jsx" />
<Heading title="Dropdown" componentRelativePath="Dropdown/Dropdown.tsx" />
- [Overview](#overview)
- [Props](#props)