mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
fix Merge conflict.
This commit is contained in:
@@ -3,17 +3,22 @@ import {
|
||||
CollapsibleList,
|
||||
MenuItem,
|
||||
Classes,
|
||||
Boundary,
|
||||
} from "@blueprintjs/core";
|
||||
import classNames from "classnames";
|
||||
Boundary
|
||||
} from '@blueprintjs/core';
|
||||
import classNames from 'classnames';
|
||||
|
||||
export default function DashboardBreadcrumbs() {
|
||||
|
||||
function renderBreadcrumb(props) {
|
||||
if (props.href != null) {
|
||||
return <a className={Classes.BREADCRUMB}>{props.text}</a>;
|
||||
} else {
|
||||
return <span className={classNames(Classes.BREADCRUMB, Classes.BREADCRUMB_CURRENT)}>{props.text}</span>;
|
||||
return (
|
||||
<span
|
||||
className={classNames(Classes.BREADCRUMB, Classes.BREADCRUMB_CURRENT)}
|
||||
>
|
||||
{props.text}
|
||||
</span>
|
||||
);
|
||||
}
|
||||
}
|
||||
return (
|
||||
@@ -24,12 +29,12 @@ export default function DashboardBreadcrumbs() {
|
||||
collapseFrom={Boundary.START}
|
||||
visibleItemCount={0}
|
||||
>
|
||||
<MenuItem icon="folder-close" text="All files" href="#" />
|
||||
<MenuItem icon="folder-close" text="Users" href="#" />
|
||||
<MenuItem icon="folder-close" text="Jane Person" href="#" />
|
||||
<MenuItem icon="folder-close" text="My documents" href="#" />
|
||||
<MenuItem icon="folder-close" text="Classy dayjob" href="#" />
|
||||
<MenuItem icon="document" text="How to crush it" />
|
||||
</CollapsibleList>
|
||||
<MenuItem icon='folder-close' text='All files' href='#' />
|
||||
<MenuItem icon='folder-close' text='Users' href='#' />
|
||||
<MenuItem icon='folder-close' text='Jane Person' href='#' />
|
||||
<MenuItem icon='folder-close' text='My documents' href='#' />
|
||||
<MenuItem icon='folder-close' text='Classy dayjob' href='#' />
|
||||
<MenuItem icon='document' text='How to crush it' />
|
||||
</CollapsibleList>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user