mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 16:19:43 +01:00
* chore: integrated time traking enabled/disabled feature on project settings and updated the pro icon as a component * chore: Showing the toggle and disabled to make any operations on project features * chore: default exports in constants * chore: seperated isEnabled and isPro * chore: updated time traking key * chore: updated UI in project feature settings
17 lines
357 B
TypeScript
17 lines
357 B
TypeScript
"use client";
|
|
|
|
import { FC } from "react";
|
|
import { Crown } from "lucide-react";
|
|
// helpers
|
|
import { cn } from "@/helpers/common.helper";
|
|
|
|
type TProIcon = {
|
|
className?: string;
|
|
};
|
|
|
|
export const ProIcon: FC<TProIcon> = (props) => {
|
|
const { className } = props;
|
|
|
|
return <Crown className={cn("inline-block h-3.5 w-3.5 text-amber-400", className)} />;
|
|
};
|