diff --git a/src/components/CatalogCard/CatalogCard.stories.tsx b/src/components/CatalogCard/CatalogCard.stories.tsx index 11e88c97..351ef090 100644 --- a/src/components/CatalogCard/CatalogCard.stories.tsx +++ b/src/components/CatalogCard/CatalogCard.stories.tsx @@ -1,10 +1,11 @@ import * as React from 'react' -import { storiesOf } from '@storybook/react' -import { Container } from '../Container/Container' -import { Header } from '../Header/Header' -import { HeaderMenu } from '../HeaderMenu/HeaderMenu' +import { ComponentMeta, ComponentStory } from '@storybook/react' import { CatalogCard, CatalogCardProps } from './CatalogCard' import { Rarity, Network } from '@dcl/schemas' +export default { + title: 'CatalogCard', + component: CatalogCard +} as ComponentMeta const i18n = { rarities: Rarity.getRarities().reduce((acc, rarity) => { @@ -37,15 +38,9 @@ const props: CatalogCardProps = { i18n } -storiesOf('CatalogCard', module).add('Catalog', () => ( - - - -
Asset Cards for Catalog Items
-
-
-
- -
-
-)) +const Template: ComponentStory = (args) => ( + +) + +export const Wearable = Template.bind({}) +Wearable.args = props