mirror of
https://github.com/docmost/docmost.git
synced 2025-11-13 09:42:37 +10:00
22 lines
659 B
TypeScript
22 lines
659 B
TypeScript
import classes from "./page-header.module.css";
|
|
import PageHeaderMenu from "@/features/page/components/header/page-header-menu.tsx";
|
|
import { Group } from "@mantine/core";
|
|
import Breadcrumb from "@/features/page/components/breadcrumbs/breadcrumb.tsx";
|
|
|
|
interface Props {
|
|
readOnly?: boolean;
|
|
}
|
|
export default function PageHeader({ readOnly }: Props) {
|
|
return (
|
|
<div className={classes.header}>
|
|
<Group justify="space-between" h="100%" px="md" wrap="nowrap">
|
|
<Breadcrumb />
|
|
|
|
<Group justify="flex-end" h="100%" px="md" wrap="nowrap">
|
|
<PageHeaderMenu readOnly={readOnly} />
|
|
</Group>
|
|
</Group>
|
|
</div>
|
|
);
|
|
}
|