mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
feat: optimize style of credit note details. feat: optimize global style checkbox of the application.
20 lines
469 B
JavaScript
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>
|
|
);
|
|
}
|