Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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. }