There was an error while loading. Please reload this page.
간단한 메시지를 보여주는 Toast 컴포넌트입니다.
Toast
label
onClose
function Page() { import { useToastStore } from "@/hooks/useToastStore"; const { showToast } = useToastStore(); const handleToastClick = () => { showToast("토스트"); }; return ( <div> <div className="p-5"> <Button onClick={handleToastClick} fullWidth className="py-[14px]"> 토스트 테스트 버튼 </Button> </div> </div> ); }