Format funds amount. Use ghost button for back.
This commit is contained in:
parent
e9e6ea9a4a
commit
605911bfee
|
@ -38,7 +38,7 @@ export function AddFundsButton() {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="modal-action">
|
<div className="modal-action">
|
||||||
<label htmlFor="add-funds" className={clsx('btn')}>
|
<label htmlFor="add-funds" className={clsx('btn btn-ghost')}>
|
||||||
Back
|
Back
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import clsx from 'clsx'
|
import clsx from 'clsx'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
import { formatMoney } from '../lib/util/format'
|
||||||
import { Row } from './layout/row'
|
import { Row } from './layout/row'
|
||||||
|
|
||||||
export function YesNoSelector(props: {
|
export function YesNoSelector(props: {
|
||||||
|
@ -87,7 +88,7 @@ export function FundsSelector(props: {
|
||||||
onClick={() => onSelect(amount as any)}
|
onClick={() => onSelect(amount as any)}
|
||||||
className={btnClassName}
|
className={btnClassName}
|
||||||
>
|
>
|
||||||
M$ {amount}
|
{formatMoney(amount)}
|
||||||
</Button>
|
</Button>
|
||||||
))}
|
))}
|
||||||
</Row>
|
</Row>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user