* fix: fixed the sorting of the tables * fix: added sorting functions * fix: farm sorting for deposit cap * fix: fixed Row types
17 lines
526 B
TypeScript
17 lines
526 B
TypeScript
import AssetImage from 'components/Asset/AssetImage'
|
|
import TitleAndSubCell from 'components/TitleAndSubCell'
|
|
|
|
export const NAME_META = { accessorKey: 'asset.symbol', header: 'Asset', id: 'symbol' }
|
|
interface Props {
|
|
asset: Asset
|
|
}
|
|
export default function Name(props: Props) {
|
|
const { asset } = props
|
|
return (
|
|
<div className='flex items-center flex-1 gap-3'>
|
|
<AssetImage asset={asset} size={32} />
|
|
<TitleAndSubCell title={asset.symbol} sub={asset.name} className='text-left min-w-15' />
|
|
</div>
|
|
)
|
|
}
|