import { faPlus } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import React from "react"; import useModalStore from "@/store/modals"; type Props = { text?: string; }; export default function NoLinksFound({ text }: Props) { const { setModal } = useModalStore(); return (

{text || "You haven't created any Links Here"}

{ setModal({ modal: "LINK", state: true, method: "CREATE", }); }} className="inline-flex gap-1 relative w-[11.4rem] items-center font-semibold select-none cursor-pointer p-2 px-3 rounded-full dark:hover:bg-sky-600 text-white bg-sky-700 hover:bg-sky-600 duration-100 group" > Create New Link
); }