import Image from "next/image"; import { useTheme } from "next-themes"; import { TIssuesListTypes } from "@plane/types"; // types import { CREATED_ISSUES_EMPTY_STATES } from "@/constants/dashboard"; // constants type Props = { type: TIssuesListTypes; }; export const CreatedIssuesEmptyState: React.FC = (props) => { const { type } = props; // next-themes const { resolvedTheme } = useTheme(); const typeDetails = CREATED_ISSUES_EMPTY_STATES[type]; const image = resolvedTheme === "dark" ? typeDetails.darkImage : typeDetails.lightImage; return (
Assigned issues

{typeDetails.title}

); };