mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fixes
This commit is contained in:
parent
caf3ed26c6
commit
3e8c6f40a9
@ -18,6 +18,6 @@ interface Props {
|
|||||||
export const Default: Props = Template.bind({})
|
export const Default: Props = Template.bind({})
|
||||||
Default.args = {
|
Default.args = {
|
||||||
networkId: 1287,
|
networkId: 1287,
|
||||||
path: 'https://example.com',
|
path: 'https://rinkeby.etherscan.io/token/0xfE5E734F529axxxxxxxxaD38Fce76A56B0d4347C',
|
||||||
children: <p>Explorer link</p>
|
children: 'Explorer link'
|
||||||
}
|
}
|
||||||
|
@ -16,8 +16,8 @@ interface Props {
|
|||||||
args: FileIconProps
|
args: FileIconProps
|
||||||
}
|
}
|
||||||
|
|
||||||
const file = {
|
const textFile = {
|
||||||
contentLength: '0',
|
contentLength: '750',
|
||||||
contentType: 'text/html',
|
contentType: 'text/html',
|
||||||
index: 0,
|
index: 0,
|
||||||
valid: true
|
valid: true
|
||||||
@ -25,5 +25,17 @@ const file = {
|
|||||||
|
|
||||||
export const Default: Props = Template.bind({})
|
export const Default: Props = Template.bind({})
|
||||||
Default.args = {
|
Default.args = {
|
||||||
file: file as FileMetadata
|
file: textFile as FileMetadata
|
||||||
|
}
|
||||||
|
|
||||||
|
export const Small: Props = Template.bind({})
|
||||||
|
Small.args = {
|
||||||
|
file: textFile as FileMetadata,
|
||||||
|
small: true
|
||||||
|
}
|
||||||
|
|
||||||
|
export const IsLoading: Props = Template.bind({})
|
||||||
|
IsLoading.args = {
|
||||||
|
file: textFile as FileMetadata,
|
||||||
|
isLoading: true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user