feat: init
This commit is contained in:
18
apps/web/core/components/icons/locked-component.tsx
Normal file
18
apps/web/core/components/icons/locked-component.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Lock } from "lucide-react";
|
||||
import { Tooltip } from "@plane/propel/tooltip";
|
||||
|
||||
export const LockedComponent = (props: { toolTipContent?: string }) => {
|
||||
const { toolTipContent } = props;
|
||||
const lockedComponent = (
|
||||
<div className="flex-shrink-0 flex h-7 items-center gap-2 rounded-full bg-custom-background-80 px-3 py-0.5 text-xs font-medium text-custom-text-300">
|
||||
<Lock className="h-3 w-3" />
|
||||
<span>Locked</span>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<>
|
||||
{toolTipContent ? <Tooltip tooltipContent={toolTipContent}>{lockedComponent}</Tooltip> : <>{lockedComponent}</>}
|
||||
</>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user