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({})
|
||||
Default.args = {
|
||||
networkId: 1287,
|
||||
path: 'https://example.com',
|
||||
children: <p>Explorer link</p>
|
||||
path: 'https://rinkeby.etherscan.io/token/0xfE5E734F529axxxxxxxxaD38Fce76A56B0d4347C',
|
||||
children: 'Explorer link'
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user