Open Wolfr opened 3 years ago
Similar to this component in Chakra UI. I envision this to be a separate component from <Modal />
but with a similar API.
We should test the situation then where an <AlertModal />
is on top of a <Modal>
(quite a common UI situation).
https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/alertdialog.html
Implement AlertDialog as a separate component to (related #25).