import { ToastContainer , toast } from "react-toastify" ; import "react-toastify/dist/ReactToastify.css" ; export const Notify = ( ) => { const onclick = ( ) => toast ( "스팟이 등록되었어요!" , { position : "bottom-right" , autoClose : 3000 , hideProgressBar : false , closeOnClick : true , pauseOnHover : false , draggable : true , progress : undefined , } ) ; return < ToastContainer />; } ; export default Notify ;