dnd-side-project / dnd-8th-1-frontend

🪩춤으로 연결되는 댄스 유니버스, 댄버스💫
https://danverse.vercel.app/
11 stars 0 forks source link

✨ feat: CheckboxModal 컴포넌트 구현 #270

Closed punchdrunkard closed 1 year ago

punchdrunkard commented 1 year ago

요약

사진 (구현 캡처)

https://user-images.githubusercontent.com/74234333/221419138-4eeb9ad4-279f-4d20-afb9-59c3f401ab26.mov

작업 내용

기타 (논의하고 싶은 부분)

const CheckboxModal = dynamic( () => import('../components/templates/CheckboxModal'), { ssr: false, }, )

export default function Home() { const [showModal, setShowModal, handleToggle] = useDisclosure()

return ( <> <button className="h-[50px] w-[100px] rounded-[20px] bg-green-light text-[24px] font-bold text-gray-900" onClick={handleToggle}

클릭 <CheckboxModal showModal={showModal} setShowModal={setShowModal} modalContent={'정말 탈퇴하시나요?'} submitMessage={'탈퇴하기'} checkBoxDescription={'계정 삭제에 동의합니다.'} handleOnSubmit={() => { console.log('삭제!') setShowModal(false) }} /> </> ) }


# 타 직군 전달 사항

## 백엔드 전달 사항

## 디자이너 전달 사항

close #269 
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
danverse ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 26, 2023 at 5:52PM (UTC)