mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: get bank account meta summary
This commit is contained in:
@@ -1,18 +1,28 @@
|
||||
// @ts-nocheck
|
||||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import clsx from 'classnames';
|
||||
|
||||
import Style from '@/style/components/DataTable/DataTableEmptyStatus.module.scss';
|
||||
|
||||
/**
|
||||
* Datatable empty status.
|
||||
*/
|
||||
export function EmptyStatus({ title, description, action, children }) {
|
||||
export function EmptyStatus({
|
||||
title,
|
||||
description,
|
||||
action,
|
||||
children,
|
||||
classNames,
|
||||
}) {
|
||||
return (
|
||||
<div className={classNames(Style.root)}>
|
||||
<h1 className={classNames(Style.root_title)}>{title}</h1>
|
||||
<div className={classNames(Style.root_desc)}>{description}</div>
|
||||
<div className={classNames(Style.root_actions)}>{action}</div>
|
||||
<div className={clsx(Style.root, classNames?.root)}>
|
||||
<h1 className={clsx(Style.root_title, classNames?.title)}>{title}</h1>
|
||||
<div className={clsx(Style.root_desc, classNames?.description)}>
|
||||
{description}
|
||||
</div>
|
||||
<div className={clsx(Style.root_actions, classNames?.actions)}>
|
||||
{action}
|
||||
</div>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user