1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/src/components/@shared/Publisher/index.stories.tsx
ClaudiaHolhos 7a7e493f6e fixes
2022-06-22 16:41:16 +03:00

29 lines
763 B
TypeScript

import React from 'react'
import { ComponentStory, ComponentMeta } from '@storybook/react'
import Publisher, { PublisherProps } from '@shared/Publisher'
import MarketMetadataProvider from '@context/MarketMetadata'
export default {
title: 'Component/@shared/Publisher',
component: Publisher
} as ComponentMeta<typeof Publisher>
const Template: ComponentStory<typeof Publisher> = (args: PublisherProps) => (
<Publisher {...args} />
)
interface Props {
args: PublisherProps
}
export const Default: Props = Template.bind({})
Default.args = {
account: '0x134B4eDd7dE8Ea003E721e7670800BA97D9AF1fd'
}
export const MinimalProfile: Props = Template.bind({})
MinimalProfile.args = {
account: '0x134B4eDd7dE8Ea003E721e7670800BA97D9AF1fd',
minimal: true
}