mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
chrone: sperate client and server to different repos.
This commit is contained in:
21
src/components/PageFormBigNumber.js
Normal file
21
src/components/PageFormBigNumber.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { CLASSES } from 'common/classes';
|
||||
import {
|
||||
Money,
|
||||
} from 'components';
|
||||
|
||||
import 'style/components/BigAmount.scss';
|
||||
|
||||
export default function PageFormBigNumber({ label, amount, currencyCode }) {
|
||||
return (
|
||||
<div className={classNames(CLASSES.PAGE_FORM_HEADER_BIG_NUMBERS)}>
|
||||
<div class="big-amount">
|
||||
<span class="big-amount__label">{ label }</span>
|
||||
<h1 class="big-amount__number">
|
||||
<Money amount={amount} currency={currencyCode} />
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user