mars-v2-frontend/src/components/HLS/Farm/Table/Columns/Name.tsx
Bob van der Helm 9e5f88ac83
♻️ refactor table (Farm) (#555)
* ♻️ refactor table (Farm)

* 🧽 clean up PR

* 🧽 clean up PR
2023-10-17 12:42:25 +02:00

20 lines
410 B
TypeScript

import React from 'react'
import TitleAndSubCell from 'components/TitleAndSubCell'
interface Props {
strategy: HLSStrategy
}
export default function Name(props: Props) {
return (
<div className='flex'>
<TitleAndSubCell
className='ml-2 mr-2 text-left'
title={`${props.strategy.denoms.deposit}-${props.strategy.denoms.borrow}`}
sub={'Via Mars'}
/>
</div>
)
}