mars-v2-frontend/src/components/TitleAndSubCell.tsx
Bob van der Helm 697e83b7cb
Mp depostied vaults table (#271)
* added correct resolving of account positions

* solve rendering bug for lp amount

* bugfix: add slippage to minlpamount

* fix DisplayCurrency to accept only BNCoin

* bugfix: remove prices from store

* add basic depostied vaults table

* Farm: Added deposited table

* finish deposited table, remove featured vaults:
2023-06-29 12:55:47 +02:00

24 lines
582 B
TypeScript

import classNames from 'classnames'
import Text from 'components/Text'
interface Props {
title: string | React.ReactNode
sub: string | React.ReactNode
className?: string
containerClassName?: string
}
export default function TitleAndSubCell(props: Props) {
return (
<div className={classNames('flex flex-col gap-[0.5]', props.containerClassName)}>
<Text size='xs' className={props.className}>
{props.title}
</Text>
<Text size='xs' className={classNames('text-white/50', props.className)}>
{props.sub}
</Text>
</div>
)
}