mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
d3556f457b
* chore: use client directive * chore: use client directive
14 lines
495 B
TypeScript
14 lines
495 B
TypeScript
"use client";
|
|
|
|
// ui
|
|
import { StateGroupIcon } from "@plane/ui";
|
|
|
|
export const IssueBlockState = ({ state }: any) => (
|
|
<div className="flex w-full items-center justify-between gap-1 rounded border-[0.5px] border-custom-border-300 px-2.5 py-1 text-xs shadow-sm duration-300 focus:outline-none">
|
|
<div className="flex w-full items-center gap-1.5">
|
|
<StateGroupIcon stateGroup={state.group} color={state.color} />
|
|
<div className="text-xs">{state?.name}</div>
|
|
</div>
|
|
</div>
|
|
);
|