Leonard Kim 002e48b886 feat(display-name): convert prompt to react
Create a new component that uses Dialog. Reuse existing actions
for updating a participant's display name.
2017-08-04 10:21:18 -05:00

13 lines
301 B
JavaScript

import { openDialog } from '../../features/base/dialog';
import { DisplayNamePrompt } from './components';
/**
* Signals to open a dialog with the {@code DisplayNamePrompt} component.
*
* @returns {Object}
*/
export function openDisplayNamePrompt() {
return openDialog(DisplayNamePrompt);
}