mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
27 lines
602 B
TypeScript
27 lines
602 B
TypeScript
import React from 'react'
|
|
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
|
import Page, { PageProps } from '@shared/Page'
|
|
|
|
export default {
|
|
title: 'Component/@shared/Page',
|
|
component: Page
|
|
} as ComponentMeta<typeof Page>
|
|
|
|
const Template: ComponentStory<typeof Page> = (args: PageProps) => (
|
|
<Page {...args} />
|
|
)
|
|
|
|
interface Props {
|
|
args: PageProps
|
|
}
|
|
|
|
export const Default: Props = Template.bind({})
|
|
Default.args = {
|
|
uri: 'https://www.market.oceanprotocol.com',
|
|
children: (
|
|
<a>
|
|
A marketplace to find, publish and trade data sets in the Ocean Network.
|
|
</a>
|
|
)
|
|
}
|