您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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