Progress on mobile modal and popover dialogs

This commit is contained in:
mgabdev
2020-05-12 20:36:54 -04:00
parent 2fcbd4131f
commit ccc3206f8f
22 changed files with 166 additions and 80 deletions

View File

@@ -237,6 +237,7 @@ class EmojiPickerPopover extends ImmutablePureComponent {
onSkinTone: PropTypes.func.isRequired,
skinTone: PropTypes.number.isRequired,
onClosePopover: PropTypes.func.isRequired,
isXS: PropTypes.bool,
}
state = {
@@ -269,12 +270,13 @@ class EmojiPickerPopover extends ImmutablePureComponent {
skinTone,
frequentlyUsedEmojis,
customEmojis,
isXS,
} = this.props
const { loading } = this.state
return (
<PopoverLayout width={340}>
<PopoverLayout width={340} isXS={isXS}>
<EmojiPickerMenu
customEmojis={customEmojis}
loading={loading}