davidtheclark / react-aria-modal

A fully accessible React modal built according WAI-ARIA Authoring Practices
http://davidtheclark.github.io/react-aria-modal/demo/
MIT License
1.03k stars 96 forks source link

Add visible prop #92

Closed spiritsack closed 2 years ago

spiritsack commented 4 years ago

Added new prop - visible. If false is passed to the prop, the dialog will load in the DOM, but stay hidden until true is passed.

If the prop is not passed, it will set itself to true.