How to use @mui-treasury/components - 2 common examples

To help you get started, we’ve selected a few @mui-treasury/components examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github siriwatknp / mui-treasury / packages / mui-components / src / menuList / NestedMenuList / NestedMenuList.js View on Github external
const calculatedProps = injectItemProps(params);
      const nextLevel = level + 1;
      const menu = (
         (
            
          )}
          {...MenuToggle.getOverrides(css, props)}
        />
      );
      if (subMenus) {
        return (
          <li>
            {menu}
            {subMenus &amp;&amp; (
              
                {/* eslint-disable-next-line no-use-before-define */}
                {renderList(subMenus, nextLevel, [key, ...keyPath])}
              
            )}
          </li>
        );
      }
      return menu;

@mui-treasury/components

MIT
Latest version published 4 years ago

Package Health Score

56 / 100
Full package analysis