Skip to content
Arshad Khan edited this page Aug 3, 2017 · 3 revisions

Dialog

dialog

Dialog component acts like a wrapper which has nearly all the useful properties and methods that XUL Dialog element had. Check the proptypes of dialog component and XUL dialog component page to know the valid attributes value.

In components using Redux, acceptDialog and cancelDialog can be provided to any elements just by mapping the redux actions.

Note: the main content of dialog element comes from children props. Check out the inline comments and proptypes of Dialog and DialogButton component for more info.

Clone this wiki locally