signal-desktop/ts/components/ConfirmationDialog.md
Ken Powers 29de50c12a Stickers
Co-authored-by: scott@signal.org
Co-authored-by: ken@signal.org
2019-05-16 16:10:37 -07:00

391 B

All Options

<util.ConversationContext theme={util.theme}>
  <ConfirmationDialog
    i18n={util.i18n}
    onClose={() => console.log('onClose')}
    onAffirmative={() => console.log('onAffirmative')}
    affirmativeText="Affirm"
    onNegative={() => console.log('onNegative')}
    negativeText="Negate"
  >
    asdf child
  </ConfirmationDialog>
</util.ConversationContext>