0ae70899e5
* tidy: refactor text * feat: added unstyled select * tidy: useToggle * tidy: useToggle * MP-2344: first unstyled version of Select * fix: fixed the build * MP-2344: progress on the Select * MP-2344: almost finished the Select * env: update wallet-connector * fix: relative imports * env: started adding osmo-test-5 contracts * refactor: rename stargate.ts to d.ts * env: adjusted tsconfig.json * feat: updated modals to use the dialog element * env: added mainnet config * env: enabled osmosis-1 * tidy: refactor * fix: fixed decimals * fix: fixed the NaN issue for ETH * fix: fixed price calculations for large decimals * feat: finished conversion to <dialog> * fix: fixed some logic issues * fix: layout fix * fix: fixed token slider and input * tidy: format * fix: added currentAccount hook * Mp 2345 withdraw from credit account flow (#180) * MP-2345: created the barebone for withdraw * MP-2351: changed the AccountHealth logic * MP-2345: enabled withdraw function * MP-2351: added animation to Accordion * fix: adjusted according to feedback * fix: reduced complexity * tidy: format * env: enabled osmo-test-5 support * feat: added USDC.n * env: updated dependencies * fix: hotfixed react-draggable * fix: fixed vault info
23 lines
512 B
TypeScript
23 lines
512 B
TypeScript
import classNames from 'classnames'
|
|
|
|
import Text from 'components/Text'
|
|
|
|
interface Props {
|
|
title: string | React.ReactNode
|
|
sub: string | React.ReactNode
|
|
className?: string
|
|
}
|
|
|
|
export default function TitleAndSubCell(props: Props) {
|
|
return (
|
|
<div className='flex flex-col gap-[0.5]'>
|
|
<Text size='sm' className={props.className}>
|
|
{props.title}
|
|
</Text>
|
|
<Text size='sm' className={classNames('text-white/50', props.className)}>
|
|
{props.sub}
|
|
</Text>
|
|
</div>
|
|
)
|
|
}
|