Files
bigcapital/src/components/Dashboard/DashboardActionsBar.js
a.bouhuolia 4dda2a37aa feat: optimize style of invoice details.
feat: optimize style of credit note details.
feat: optimize global style checkbox  of the application.
2021-12-20 13:19:59 +02:00

20 lines
469 B
JavaScript

import React from 'react';
import clsx from 'classnames';
import { Navbar } from '@blueprintjs/core';
export default function DashboardActionsBar({ className, children, name }) {
return (
<div
className={clsx(
{
'dashboard__actions-bar': true,
[`dashboard__actions-bar--${name}`]: !!name,
},
className,
)}
>
<Navbar className="navbar--dashboard-actions-bar">{children}</Navbar>
</div>
);
}