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