/** * Copyright (c) 2023-present Plane Software, Inc. and contributors * SPDX-License-Identifier: AGPL-3.0-only * See the LICENSE file for details. */ import React, { useState } from "react"; // ui import { Button } from "@plane/propel/button"; type Props = { title: string; description?: React.ReactNode; image: any; comicBox?: { direction: "left" | "right"; title: string; description: string; extraPadding?: boolean; }; primaryButton?: { icon?: any; text: string; onClick: () => void; }; disabled?: boolean; }; export function NewEmptyState({ title, description, image, primaryButton, disabled = false, comicBox }: Props) { const [isHovered, setIsHovered] = useState(false); const handleMouseEnter = () => { setIsHovered(true); }; const handleMouseLeave = () => { setIsHovered(false); }; return (
{description}
}