diff --git a/src/components/structures/ContextualMenu.js b/src/components/structures/ContextualMenu.js
index 99d1f892b9..17f1a23e14 100644
--- a/src/components/structures/ContextualMenu.js
+++ b/src/components/structures/ContextualMenu.js
@@ -40,7 +40,7 @@ function getOrCreateContainer() {
return container;
}
-class ContextualMenu extends React.Component {
+export default class ContextualMenu extends React.Component {
propTypes: {
top: PropTypes.number,
bottom: PropTypes.number,
@@ -57,6 +57,10 @@ class ContextualMenu extends React.Component {
menuPaddingRight: PropTypes.number,
menuPaddingBottom: PropTypes.number,
menuPaddingLeft: PropTypes.number,
+
+ // If true, insert an invisible screen-sized element behind the
+ // menu that when clicked will close it.
+ hasBackground: PropTypes.bool,
}
render() {
@@ -154,31 +158,30 @@ class ContextualMenu extends React.Component {
{ chevron }