import Modal from "antd/lib/modal/Modal"; import { useState } from "react"; import { ShowModalType, useKeyboardContext, } from "../../contexts/keyboardContext"; export default function CreateOrUpdateLink() { const { handleModalType, showModalType } = useKeyboardContext(); function closeModal() { handleModalType(ShowModalType.na); } const [link, setLink] = useState(""); return (
Link Please make sure this is valid for others to access. setLink(e.target.value)} />
); }