"use client"; import { FC } from "react"; import Image from "next/image"; import { useTheme } from "next-themes"; import { Button } from "@plane/ui"; // public images import EstimateEmptyDarkImage from "@/public/empty-state/estimates/dark.svg"; import EstimateEmptyLightImage from "@/public/empty-state/estimates/light.svg"; type TEstimateEmptyScreen = { onButtonClick: () => void; }; export const EstimateEmptyScreen: FC = (props) => { // props const { onButtonClick } = props; const { resolvedTheme } = useTheme(); const emptyScreenImage = resolvedTheme === "light" ? EstimateEmptyLightImage : EstimateEmptyDarkImage; return (
Empty estimate image

No estimate systems yet

Create a set of estimates to communicate the amount of work per issue.

); };