import{jsx as o}from"react/jsx-runtime";import{memo as s}from"react";import{useAtomValue as n}from"jotai";import{Menu as i}from"@redocly/theme/components/Menu/Menu";import{useMenuItems as p}from"./hooks/useMenuItems.js";import{styled as u}from"../../styled-components.js";import{globalOptionsAtom as a}from"../../jotai/store.js";const f=({items:t,className:e})=>{const{routingBasePath:m}=n(a),r=p({items:t,routingBasePath:m});return o(c,{className:e,children:o(i,{items:r})})},v=s(f),c=u.div`
  overflow: auto;
`;export{c as MenuWrapper,v as SideMenu};
