This is the code base repository for the medium article: Customizable confirmation dialog in React.js using Hooks, Context API, and TypeScript
A working demo can be found here
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.