UNPKG

@medalsocial/meda

Version:

Shared Meda UI shell and runtime package.

19 lines (18 loc) 1.02 kB
import { type ReactNode } from 'react'; import type { MobileNavLinkArgs, MobileNavTree, WorkspaceMenuItem } from '../types.js'; export interface MobileWorkspaceSheetProps { tree: MobileNavTree; activeTo?: string; renderLink?: (args: MobileNavLinkArgs) => ReactNode; workspaceMenuItems?: WorkspaceMenuItem[]; workspaceMenuFooter?: ReactNode; } /** * The one mobile workspace sheet — a calm, scannable list of the whole nav * tree that replaces the four drawers. Modules are light group labels, * submodules are rows: a `›` navigates, a `⌄` reveals a slim chip row of * preset views (accordion, one open at a time). Filters, layout, and saved * views deliberately stay on the page, not here. Opened from the dock's * workspace-selector slot; a workspace header on top surfaces the account menu. */ export declare function MobileWorkspaceSheet({ tree, activeTo, renderLink, workspaceMenuItems, workspaceMenuFooter, }: MobileWorkspaceSheetProps): import("react/jsx-runtime").JSX.Element;