Files
plane/web/ee/components/active-cycles/project-title.tsx

20 lines
550 B
TypeScript
Raw Permalink Normal View History

import { FC } from "react";
// types
import { IProject } from "@plane/types";
// ui
2024-05-31 17:59:07 +05:30
import { Logo } from "@/components/common";
export type ActiveCyclesProjectTitleProps = {
project: Partial<IProject> | undefined;
};
export const ActiveCyclesProjectTitle: FC<ActiveCyclesProjectTitleProps> = (props) => {
const { project } = props;
return (
<div className="flex items-center gap-2 px-3">
2024-05-31 17:59:07 +05:30
{project?.logo_props && <Logo logo={project.logo_props} />}
<h2 className="text-xl font-semibold">{project?.name}</h2>
</div>
);
};