Skip to content

Commit

Permalink
styled dialog container
Browse files Browse the repository at this point in the history
  • Loading branch information
AchyuthMohan committed Dec 9, 2022
1 parent e1abf48 commit afeaa88
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/assets/svg/dialogvector.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/components/BookerDialog/BookerDialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,8 @@
}
.button_continer_dialog{
/* gap: 2rem; */
}
.confirm__book_que{
font-size: 2rem;
color:rgba(9,76,131,.75) ;
}
6 changes: 4 additions & 2 deletions src/components/BookerDialog/BookerDialog.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import Dialog from '@mui/material/Dialog';
import './BookerDialog.css'
import dialogvector from '../../assets/svg/dialogvector.svg'
const BookerDialog = ({handleClose,open,finalSubmit}) => {
return (
<div>
Expand All @@ -15,14 +16,15 @@ const BookerDialog = ({handleClose,open,finalSubmit}) => {
aria-labelledby="alert-dialog-title"
aria-describedby="alert-dialog-description"
>

<div className="main_dialog_content">
<p>Are You sure you want to book the package ?</p>
<p className='confirm__book_que'>Are You sure you want to book the package ?</p>
<div className="button_continer_dialog">
<button className='prev__button' onClick={handleClose}>No</button>
<button className='next__button' onClick={finalSubmit}>Yes</button>
</div>
</div>

<img src={dialogvector} alt="dialog_vecotr" />
</Dialog>
</div>
)
Expand Down

0 comments on commit afeaa88

Please sign in to comment.