-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#277 업데이트 알림 뷰 #281
#277 업데이트 알림 뷰 #281
Conversation
import Medley from "./Medley"; | ||
import MoodPiickle from "./MoodPiickle"; | ||
import PiickleMe from "./PiickleMe"; | ||
import StripBanner from "./StripBanner"; | ||
import { St } from "./style"; | ||
import UpdateModal from "./UpdateModal"; | ||
|
||
const UpdateModal = lazy(() => import("./UpdateModal")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
전체 UI가 나온 이후에, 업데이트 모달창을 띄우고 싶었습니다.!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오오오오옹 새로운 거 배워갑니다:)
closeHandler: () => void; | ||
} | ||
export default function UpdateModal() { | ||
const { isOpened, handleCloseModal } = useUpdateModal(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
훅을 컴포넌트 내에 위치시켰습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오왓 이런 방법이,,!
if (!isOpened) return null;
짱짱+-+!!!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨습니다:)
} | ||
|
||
export default function Modal(props: PropsWithChildren<ModalContents>) { | ||
const { theme = "DEFAULT", closeHandler, closeOpacityClassName, closeBtnClassName, children } = props; | ||
const { theme = "DEFAULT", closeHandler, closeOpacityClassName, closeBtnClassName, isNoCloseBtn, children } = props; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
왐마야 반영을 안했네 이고..ㅎ 거마워용>,<
closeHandler: () => void; | ||
} | ||
export default function UpdateModal() { | ||
const { isOpened, handleCloseModal } = useUpdateModal(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오왓 이런 방법이,,!
if (!isOpened) return null;
짱짱+-+!!!!!
id: number; | ||
content: string; | ||
}; | ||
|
||
export const versionUpdateList: VersionUpdateList[] = [ | ||
export const VERSION_UPDATES: VersionUpdate[] = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이렇게 하눈거구나~ 이거 넘나 헷갈리는고!-!
util 폴더의 비슷한 다른 파일들 참고했는데, Upper Case로 바꾸면 좋을 것들이 많을 것 같네용:)
변수명을 다 바꿨길래 궁금한건데용 파일명은 일부러 안바꾸신거겠죠?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NYeonK 생각 못했어요 하하하 바꾸셔도 좋습니다 !!!!!!!!!
📌 내용