mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
96399c7112
* feat: filters in plane deploy implemented multi-level dropdown for plane deploy * style: spacing and fonts * feat: plane deploy implemented authentication/theming, created/modified all the required store & services * devL reactions, voting, comments and theme
19 lines
661 B
TypeScript
19 lines
661 B
TypeScript
"use client";
|
|
|
|
// constants
|
|
import { issueGroupFilter } from "constants/data";
|
|
|
|
export const IssueBlockState = ({ state }: any) => {
|
|
const stateGroup = issueGroupFilter(state.group);
|
|
|
|
if (stateGroup === null) return <></>;
|
|
return (
|
|
<div className="flex items-center justify-between gap-1 w-full rounded-md shadow-sm border border-custom-border-300 duration-300 focus:outline-none px-2.5 py-1 text-xs cursor-pointer hover:bg-custom-background-80">
|
|
<div className="flex items-center cursor-pointer w-full gap-2 text-custom-text-200">
|
|
<stateGroup.icon />
|
|
<div className="text-xs">{state?.name}</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|