'use client'; import * as React from 'react'; export const MenuPortalContext = React.createContext(undefined); export function useMenuPortalContext() { const context = React.useContext(MenuPortalContext); if (context === undefined) { throw new Error( 'Zest: MenuPortalContext is missing. must be placed within .', ); } return context; }