2024-03-20 21:16:38 +05:30
|
|
|
import { FC } from "react";
|
|
|
|
|
// types
|
|
|
|
|
import { IProject } from "@plane/types";
|
|
|
|
|
// ui
|
2024-05-31 17:59:07 +05:30
|
|
|
import { Logo } from "@/components/common";
|
2024-03-20 21:16:38 +05:30
|
|
|
|
|
|
|
|
export type ActiveCyclesProjectTitleProps = {
|
|
|
|
|
project: Partial<IProject> | undefined;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const ActiveCyclesProjectTitle: FC<ActiveCyclesProjectTitleProps> = (props) => {
|
|
|
|
|
const { project } = props;
|
|
|
|
|
return (
|
2024-05-30 18:49:43 +05:30
|
|
|
<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} />}
|
2024-03-20 21:16:38 +05:30
|
|
|
<h2 className="text-xl font-semibold">{project?.name}</h2>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|