Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: dialog #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WIP: dialog #12

wants to merge 1 commit into from

Conversation

colthreepv
Copy link

2017-10-07 19_06_26-frend dialog modal

La schermata non è quello che esce fuori da questa PR 🙈

Il problema con frend.co/dialogmodal è che non ha metodi per l'invocazione programmatica (es: modal.open() o modal.close()) o alcuna callback.

Questo rende impossibile l'implementazione di un'interfaccia simile a react-modal:

<Modal
  isOpen={bool}
  onAfterOpen={afterOpenFn}
  onRequestClose={requestCloseFn}
  closeTimeoutMS={n}
  style={customStyle}
  contentLabel="Modal"
>
  <h1>Modal Content</h1>
  <p>Etc.</p>
</Modal>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant