mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix CI (updated main)
This commit is contained in:
parent
f460ba7e9d
commit
213454bc81
@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
||||
import FileIcon, { FileIconProps } from '@shared/FileIcon'
|
||||
import { FileMetadata } from '@oceanprotocol/lib'
|
||||
import { FileInfo } from '@oceanprotocol/lib'
|
||||
|
||||
export default {
|
||||
title: 'Component/@shared/FileIcon',
|
||||
@ -25,17 +25,17 @@ const textFile = {
|
||||
|
||||
export const Default: Props = Template.bind({})
|
||||
Default.args = {
|
||||
file: textFile as FileMetadata
|
||||
file: textFile as FileInfo
|
||||
}
|
||||
|
||||
export const Small: Props = Template.bind({})
|
||||
Small.args = {
|
||||
file: textFile as FileMetadata,
|
||||
file: textFile as FileInfo,
|
||||
small: true
|
||||
}
|
||||
|
||||
export const IsLoading: Props = Template.bind({})
|
||||
IsLoading.args = {
|
||||
file: textFile as FileMetadata,
|
||||
file: textFile as FileInfo,
|
||||
isLoading: true
|
||||
}
|
||||
|
@ -9,7 +9,7 @@ import { FileInfo } from '@oceanprotocol/lib'
|
||||
const cx = classNames.bind(styles)
|
||||
|
||||
export interface FileIconProps {
|
||||
file: FileMetadata
|
||||
file: FileInfo
|
||||
className?: string
|
||||
small?: boolean
|
||||
isLoading?: boolean
|
||||
|
@ -10,6 +10,7 @@ import styles from './Details.module.css'
|
||||
|
||||
export default function Details(): ReactElement {
|
||||
const {
|
||||
web3Provider,
|
||||
web3ProviderInfo,
|
||||
web3Modal,
|
||||
connect,
|
||||
|
Loading…
x
Reference in New Issue
Block a user