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

@@ -142,6 +142,10 @@ export default
@connect(makeMapStateToProps, mapDispatchToProps)
class ProfileOptionsPopover extends PureComponent {
static defaultProps = {
isXS: PropTypes.bool,
}
makeMenu() {
const { account, intl, domain } = this.props;
@@ -302,10 +306,11 @@ class ProfileOptionsPopover extends PureComponent {
}
render() {
const { isXS } = this.props
const listItems = this.makeMenu()
return (
<PopoverLayout className={_s.width250PX}>
<PopoverLayout width={250} isXS={isXS}>
<List
scrollKey='profile_options'
items={listItems}