Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import IconLeft from 'terra-icon/lib/icon/IconLeft';
import ContentContainer from 'terra-content-container';
import IconClose from 'terra-icon/lib/icon/IconClose';
import Arrange from 'terra-arrange';
import classNames from 'classnames/bind';
import 'terra-base/lib/baseStyles';
import MenuUtils from './_MenuUtils';
import styles from './Menu.module.scss';
const cx = classNames.bind(styles);
const propTypes = {
/**
* The intl object to be injected for translations. Provided by the injectIntl function.
*/
intl: intlShape.isRequired,
/**
* Title the should be displayed in header.
*/
title: PropTypes.string,
/**
* Callback function for when back button is clicked.
*/
onRequestBack: PropTypes.func,
/**
* Callback function for when close button is clicked.
*/
onRequestClose: PropTypes.func,
/**
* Callback function that takes the content to be displayed next and is called when an item with nested content is clicked.
*/
onRequestNext: PropTypes.func.isRequired,