diff --git a/webapp/components/emoji_picker/emoji_picker.jsx b/webapp/components/emoji_picker/emoji_picker.jsx index a047c12776..0d9b341767 100644 --- a/webapp/components/emoji_picker/emoji_picker.jsx +++ b/webapp/components/emoji_picker/emoji_picker.jsx @@ -309,7 +309,7 @@ export default class EmojiPicker extends React.Component { right: this.props.rightOffset }; } else { - pickerStyle = this.props.style; + pickerStyle = {...this.props.style}; } } @@ -325,91 +325,111 @@ export default class EmojiPicker extends React.Component {
} + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'recent'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'people'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'nature'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'food'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'activity'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'travel'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'objects'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'symbols'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'flags'} /> } + icon={ + + } onCategoryClick={this.handleCategoryClick} selected={this.state.category === 'custom'} />