mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 08:09:33 +01:00
* chore: mention notification boolean field * chore: handled mentions and all notification mutation and UI fix on the app sidebar notification badge and Back redirection button on inbox issue resposiveness * chore: Moved everthing to chip * chore: cleaning up the selection when we unmount the page * chore: resolved build error --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
26 lines
533 B
TypeScript
26 lines
533 B
TypeScript
"use client";
|
|
|
|
import { FC } from "react";
|
|
//
|
|
import { cn } from "@/helpers/common.helper";
|
|
|
|
type TCountChip = {
|
|
count: string | number;
|
|
className?: string;
|
|
};
|
|
|
|
export const CountChip: FC<TCountChip> = (props) => {
|
|
const { count, className = "" } = props;
|
|
|
|
return (
|
|
<div
|
|
className={cn(
|
|
"relative flex justify-center items-center px-2.5 py-0.5 flex-shrink-0 bg-custom-primary-100/20 text-custom-primary-100 text-xs font-semibold rounded-xl",
|
|
className
|
|
)}
|
|
>
|
|
{count}
|
|
</div>
|
|
);
|
|
};
|