import { Center, Text, useColorMode, useColorModeValue } from "@chakra-ui/react"; import { FiFileText } from "react-icons/fi"; import { IconType } from "react-icons/lib"; type EmptyStateProps = { text: string; icon: IconType; }; export const EmptyState = (props: EmptyStateProps) => { const { colorMode } = useColorMode(); const mainBgClasses = colorMode === "light" ? "bg-slate-300 text-gray-900" : "bg-slate-900 text-white"; const widgetClasses = useColorModeValue("border-gray-700 text-gray-700", "border-gray-300 text-gray-300"); return (
{props.text}
); }; export const TaskEmptyState = () => { return ; };