Default id for MenuContent

This commit is contained in:
Mark McDowall 2019-10-30 10:25:55 -07:00
parent 101df4cbf1
commit 3cbb489ac6
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import getUniqueElementId from 'Utilities/getUniqueElementId';
import Scroller from 'Components/Scroller/Scroller';
import styles from './MenuContent.css';
@ -47,7 +48,8 @@ MenuContent.propTypes = {
};
MenuContent.defaultProps = {
className: styles.menuContent
className: styles.menuContent,
id: getUniqueElementId()
};
export default MenuContent;