Add GroupAvatar to handle fallback images etc.
And a few misc tidyups
This commit is contained in:
parent
d6ecec1987
commit
84e13d5437
4 changed files with 74 additions and 14 deletions
|
@ -15,6 +15,7 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import sdk from '../../../index';
|
||||
import dis from '../../../dispatcher';
|
||||
import { _t } from '../../../languageHandler';
|
||||
|
@ -28,7 +29,7 @@ const GROUP_REGEX = /^\+(.*?):(.*)$/;
|
|||
export default React.createClass({
|
||||
displayName: 'CreateGroupDialog',
|
||||
propTypes: {
|
||||
onFinished: React.PropTypes.func.isRequired,
|
||||
onFinished: PropTypes.func.isRequired,
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue