mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-23 00:00:31 +00:00
25 lines
589 B
TypeScript
25 lines
589 B
TypeScript
// @ts-nocheck
|
|
import React from 'react';
|
|
import classNames from 'classnames';
|
|
import { CLASSES } from '@/constants/classes';
|
|
|
|
import '@/style/components/BigAmount.scss';
|
|
|
|
interface PageFormBigNumberProps {
|
|
label: string;
|
|
amount: string | number;
|
|
}
|
|
export function PageFormBigNumber({
|
|
label,
|
|
amount,
|
|
}: PageFormBigNumberProps) {
|
|
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">{amount}</h1>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|