-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] 마이페이지 탭 기능 추가 & 정보 수정 제작 중 #32
- Loading branch information
Showing
5 changed files
with
103 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import AccountCircleOutlinedIcon from "@mui/icons-material/AccountCircleOutlined"; | ||
|
||
// 회원 정보 수정 모달 컴포넌트 | ||
|
||
interface handleSettingsClickProps { | ||
handleSettingsClick: () => void; | ||
} | ||
|
||
export default function ProfileModal(props: handleSettingsClickProps) { | ||
// 전달받은 state 함수 | ||
const { handleSettingsClick } = props; | ||
|
||
return ( | ||
<div className="modal_back"> | ||
<div className="modal_content"> | ||
<h2>회원정보 수정</h2> | ||
<button onClick={handleSettingsClick}>닫기</button> | ||
<AccountCircleOutlinedIcon className="user_image" /> | ||
<input placeholder="닉네임" /> | ||
<input placeholder="비밀번호" /> | ||
</div> | ||
<button type="button">수정</button> | ||
<button type="button">로그아웃</button> | ||
</div> | ||
); | ||
} | ||
|
||
// onClick={(e: React.MouseEvent) => e.stopPropagation()} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters