import * as React from 'react'; import demoTest, { rootPropsTest } from '../../../tests/shared/demoTest'; demoTest('menu', { testRootProps: false }); rootPropsTest( 'menu', (Menu, props) => (
), { findRootElements: (container) => container.querySelectorAll('.ant-menu-root, .ant-menu-submenu-popup'), }, );