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 React from 'react'
|
||||||
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
import { ComponentStory, ComponentMeta } from '@storybook/react'
|
||||||
import FileIcon, { FileIconProps } from '@shared/FileIcon'
|
import FileIcon, { FileIconProps } from '@shared/FileIcon'
|
||||||
import { FileMetadata } from '@oceanprotocol/lib'
|
import { FileInfo } from '@oceanprotocol/lib'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
title: 'Component/@shared/FileIcon',
|
title: 'Component/@shared/FileIcon',
|
||||||
@ -25,17 +25,17 @@ const textFile = {
|
|||||||
|
|
||||||
export const Default: Props = Template.bind({})
|
export const Default: Props = Template.bind({})
|
||||||
Default.args = {
|
Default.args = {
|
||||||
file: textFile as FileMetadata
|
file: textFile as FileInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Small: Props = Template.bind({})
|
export const Small: Props = Template.bind({})
|
||||||
Small.args = {
|
Small.args = {
|
||||||
file: textFile as FileMetadata,
|
file: textFile as FileInfo,
|
||||||
small: true
|
small: true
|
||||||
}
|
}
|
||||||
|
|
||||||
export const IsLoading: Props = Template.bind({})
|
export const IsLoading: Props = Template.bind({})
|
||||||
IsLoading.args = {
|
IsLoading.args = {
|
||||||
file: textFile as FileMetadata,
|
file: textFile as FileInfo,
|
||||||
isLoading: true
|
isLoading: true
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ import { FileInfo } from '@oceanprotocol/lib'
|
|||||||
const cx = classNames.bind(styles)
|
const cx = classNames.bind(styles)
|
||||||
|
|
||||||
export interface FileIconProps {
|
export interface FileIconProps {
|
||||||
file: FileMetadata
|
file: FileInfo
|
||||||
className?: string
|
className?: string
|
||||||
small?: boolean
|
small?: boolean
|
||||||
isLoading?: boolean
|
isLoading?: boolean
|
||||||
|
@ -10,6 +10,7 @@ import styles from './Details.module.css'
|
|||||||
|
|
||||||
export default function Details(): ReactElement {
|
export default function Details(): ReactElement {
|
||||||
const {
|
const {
|
||||||
|
web3Provider,
|
||||||
web3ProviderInfo,
|
web3ProviderInfo,
|
||||||
web3Modal,
|
web3Modal,
|
||||||
connect,
|
connect,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user