mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
WIP
This commit is contained in:
@@ -1,10 +1,18 @@
|
||||
import React from 'react';
|
||||
import classnames from 'classnames';
|
||||
import { Navbar } from "@blueprintjs/core";
|
||||
|
||||
|
||||
export default function DashboardActionsBar() {
|
||||
export default function DashboardActionsBar({
|
||||
children, name
|
||||
}) {
|
||||
return (
|
||||
<div class="dashboard__actions-bar">
|
||||
|
||||
<div className={classnames({
|
||||
'dashboard__actions-bar': true,
|
||||
[`dashboard__actions-bar--${name}`]: !!name,
|
||||
})}>
|
||||
<Navbar className="navbar--dashboard-actions-bar">
|
||||
{ children }
|
||||
</Navbar>
|
||||
</div>
|
||||
)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user