Default id for MenuContent

pull/3396/head
Mark McDowall 5 years ago
parent 101df4cbf1
commit 3cbb489ac6

@ -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;

Loading…
Cancel
Save