-
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.
- Loading branch information
Showing
5 changed files
with
345 additions
and
78 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 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,74 @@ | ||
import React from 'react'; | ||
import { Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle } from "@mui/material"; | ||
import Button from "@mui/material/Button"; | ||
|
||
const FriendFrom = ({ open, onClose, senderNickname }) => { | ||
|
||
|
||
|
||
return ( | ||
<Dialog | ||
open={open} | ||
onClose={onClose} | ||
aria-labelledby="invite-dialog-title" | ||
aria-describedby="invite-dialog-description" | ||
PaperProps={{ | ||
style: { | ||
borderRadius: '15px', | ||
padding: '20px', | ||
backgroundColor: '#f7f9fc', | ||
boxShadow: '0 5px 15px rgba(0, 0, 0, 0.3)', | ||
}, | ||
}} | ||
> | ||
<DialogTitle | ||
id="invite-dialog-title" | ||
sx={{ | ||
textAlign: 'center', | ||
color: '#ff6f61', | ||
fontWeight: 'bold', | ||
fontSize: '1.5rem', | ||
borderBottom: '1px solid #ececec', | ||
paddingBottom: '10px', | ||
}} | ||
> | ||
친구 요청 | ||
</DialogTitle> | ||
<DialogContent> | ||
<DialogContentText | ||
id="invite-dialog-description" | ||
sx={{ | ||
textAlign: 'center', | ||
color: '#333', | ||
fontSize: '1.2rem', | ||
margin: '20px 0', | ||
}} | ||
> | ||
친구 요청을 보냈습니다. | ||
</DialogContentText> | ||
</DialogContent> | ||
<DialogActions sx={{ justifyContent: 'center' }}> | ||
|
||
<Button | ||
color="primary" | ||
onClick={onClose} | ||
variant="contained" | ||
sx={{ | ||
backgroundColor: '#ff6f61', | ||
color: '#fff', | ||
'&:hover': { | ||
backgroundColor: '#ff8a65', | ||
}, | ||
padding: '8px 20px', | ||
borderRadius: '25px', | ||
fontWeight: 'bold', | ||
}} | ||
> | ||
확인 | ||
</Button> | ||
</DialogActions> | ||
</Dialog> | ||
); | ||
}; | ||
|
||
export default FriendFrom; |
Oops, something went wrong.