You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.ts 454B

12345678910111213141516
  1. import { openDialog } from '../base/dialog/actions';
  2. import { DisplayNamePrompt } from './components';
  3. /**
  4. * Signals to open a dialog with the {@code DisplayNamePrompt} component.
  5. *
  6. * @param {?Function} onPostSubmit - The function to invoke after a successful
  7. * submit of the dialog.
  8. * @returns {Object}
  9. */
  10. export function openDisplayNamePrompt(onPostSubmit?: Function) {
  11. return openDialog(DisplayNamePrompt, {
  12. onPostSubmit
  13. });
  14. }