diff --git a/.gitignore b/.gitignore index babd76691f..805d47bf31 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ components/**/*.js components/**/*.jsx !components/**/__tests__/*.js !components/**/__tests__/*.js.snap +/.history diff --git a/components/menu/MenuItem.tsx b/components/menu/MenuItem.tsx index 9d57ae8b16..3ee55f1894 100644 --- a/components/menu/MenuItem.tsx +++ b/components/menu/MenuItem.tsx @@ -19,4 +19,6 @@ MenuItem.contextTypes = { inlineCollapsed: PropTypes.bool, }; +MenuItem.isMenuItem = 1; + export default MenuItem;