setIsOpen(false)}
title={intl.formatMessage(intlMessages.title)}
{...{
isOpen,
onRequestClose,
}}
>
{renderLayoutButtons()}
{renderPushLayoutsOptions()}
{intl.formatMessage(intlMessages.layoutBtnDesc)}
);
};
const propTypes = {
intl: PropTypes.shape({
formatMessage: PropTypes.func.isRequired,
}).isRequired,
isModerator: PropTypes.bool,
isPresenter: PropTypes.bool.isRequired,
application: PropTypes.shape({
selectedLayout: PropTypes.string.isRequired,
}).isRequired,
updateSettings: PropTypes.func.isRequired,
setLocalSettings: PropTypes.func.isRequired,
};
LayoutModalComponent.propTypes = propTypes;
export default injectIntl(LayoutModalComponent);