Skip to content

v9.1.0

Choose a tag to compare

@10xSebastian 10xSebastian released this 07 Jul 12:47
· 30 commits to main since this release
0694cae

container (HTMLElement): Allows to provide a explicit container where the dialog is supposed to be rendered into.

  <ReactDialog container={document.getElementById('app')}>
    <h1>I am a dialog</h1>
    <button onclick={this.close}>Close Dialog</button>
  </ReactDialog>