-
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
Feat : Talk 페이지 구현 #11
Conversation
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.
수고하셨습니다 !
import type { StrictPropsWithChildren } from '@/types'; | ||
|
||
export default function BottomFixedDiv({ children }: StrictPropsWithChildren) { | ||
interface BottomFixedDivProps { | ||
className?: string; | ||
} | ||
|
||
export default function BottomFixedDiv({ | ||
children, | ||
className, | ||
}: StrictPropsWithChildren<BottomFixedDivProps>) { | ||
return ( | ||
<div className="fixed inset-x-0 bottom-0 mx-auto max-w-440"> | ||
<div className={`fixed inset-x-0 bottom-0 mx-auto max-w-440 ${className}`}> | ||
<div className="px-20 pb-20">{children}</div> | ||
</div> | ||
); |
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.
bottom fixed 어떻게 하기로 했었나요...? 🤔
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.
하단에 고정하는 컴포넌트입니다 !
💡 왜 PR을 올렸나요?
💁 무엇이 어떻게 바뀌나요?
📆 작업 예정인 것이 있나요 ?
💬 리뷰어분들께