marcio / react-skylight

A react component for modals and dialogs
http://marcio.github.io/react-skylight/
MIT License
571 stars 97 forks source link

Open-state should be exposed as prop #32

Closed darthtrevino closed 8 years ago

darthtrevino commented 8 years ago

In Flux/Redux apps, the state of components is externalized and injected via properties. What I would like to do is have flux events that mutate the contents of the skylight, then present it by setting the "open" state to true.

darthtrevino commented 8 years ago

I don't think this should be too crazy. I'll submit a PR later