design-system-react
design-system-react copied to clipboard
Prompt component should close on close on click outside and escape
@madpotato Just checked with Adam Doti, and he said that the Prompt should only close on clicking outside/esc if it's "passive". I'll add in a prop for that component.
@madpotato Added a prop, isPassive. It's true by default so users can click outside/esc to close modal. If false, users are forced to click/enter Button inside Modal to close.