Closed edichoska closed 5 months ago
[ ] Create reusable Modal Component that should contain:
X button
Title
Description(this would be optional)
Two Buttons( Cancel and Action Button(we should be able to pass the text as a prop))
(the action button would be in the primary color, cancel in secondary)
[ ] The component should open on click of a button (any button in the app)
[ ] On click outside of the modal we should be able to close it.
[ ] Also we should be able to close the modal on click of X button
[ ] The page should have an overlay, on top of which we would display the modal
[ ] We shouldn't be able to scroll the page when the modal is open
[ ] Create reusable Modal Component that should contain:
X button
Title
Description(this would be optional)
Two Buttons( Cancel and Action Button(we should be able to pass the text as a prop))
(the action button would be in the primary color, cancel in secondary)
[ ] The component should open on click of a button (any button in the app)
[ ] On click outside of the modal we should be able to close it.
[ ] Also we should be able to close the modal on click of X button
[ ] The page should have an overlay, on top of which we would display the modal
[ ] We shouldn't be able to scroll the page when the modal is open