mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
feat: tables empty status.
This commit is contained in:
40
client/src/containers/Expenses/ExpensesEmptyState.js
Normal file
40
client/src/containers/Expenses/ExpensesEmptyState.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import React from 'react';
|
||||
|
||||
function DatatableEmptyState({
|
||||
title,
|
||||
description,
|
||||
newButtonText,
|
||||
newButtonUrl,
|
||||
|
||||
learnMoreButtonText,
|
||||
learnMoreButtonUrl,
|
||||
}) {
|
||||
|
||||
|
||||
return (
|
||||
<div class={'datatable-empty-state'}>
|
||||
<h1 class={CLASSES.DATATABLE_EMPTY_STATE_TITLE}>
|
||||
{ title }
|
||||
</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
export default function ExpensesEmptyState({
|
||||
|
||||
}) {
|
||||
|
||||
|
||||
return (
|
||||
<DatatableEmptyState
|
||||
title={''}
|
||||
description={''}
|
||||
newButtonText={''}
|
||||
newButtonUrl={''}
|
||||
|
||||
learnMoreButtonText={''}
|
||||
learnMoreButtonUrl={''}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user