mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-18 12:57:46 +00:00
[RN] Add chat functionality
Co-authored-by: DimaG <dgeorgiev06@gmail.com>
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
82f714b608
commit
8a241ba2b7
@@ -0,0 +1,30 @@
|
||||
// @flow
|
||||
|
||||
import React from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { InputDialog } from '../../base/dialog';
|
||||
|
||||
import AbstractDisplayNamePrompt from './AbstractDisplayNamePrompt';
|
||||
|
||||
/**
|
||||
* Implements a component to render a display name prompt.
|
||||
*/
|
||||
class DisplayNamePrompt extends AbstractDisplayNamePrompt<*> {
|
||||
/**
|
||||
* Implements React's {@link Component#render()}.
|
||||
*
|
||||
* @inheritdoc
|
||||
*/
|
||||
render() {
|
||||
return (
|
||||
<InputDialog
|
||||
contentKey = 'dialog.enterDisplayName'
|
||||
onSubmit = { this._onSetDisplayName } />
|
||||
);
|
||||
}
|
||||
|
||||
_onSetDisplayName: string => boolean;
|
||||
}
|
||||
|
||||
export default connect()(DisplayNamePrompt);
|
||||
|
||||
Reference in New Issue
Block a user