1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
This commit is contained in:
ClaudiaHolhos 2022-05-31 11:48:42 +03:00
parent caf3ed26c6
commit 3e8c6f40a9
2 changed files with 17 additions and 5 deletions

View File

@ -18,6 +18,6 @@ interface Props {
export const Default: Props = Template.bind({})
Default.args = {
networkId: 1287,
path: 'https://example.com',
children: <p>Explorer link</p>
path: 'https://rinkeby.etherscan.io/token/0xfE5E734F529axxxxxxxxaD38Fce76A56B0d4347C',
children: 'Explorer link'
}

View File

@ -16,8 +16,8 @@ interface Props {
args: FileIconProps
}
const file = {
contentLength: '0',
const textFile = {
contentLength: '750',
contentType: 'text/html',
index: 0,
valid: true
@ -25,5 +25,17 @@ const file = {
export const Default: Props = Template.bind({})
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
}