MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / PageSidebarShell

Function PageSidebarShell

ui/src/pages/PageSidebarShell.tsx:24–44  ·  view source on GitHub ↗
({
  storageKey,
  titleKey,
  defaultWidth,
  sidebar,
  actions,
  children,
}: PageSidebarShellProps)

Source from the content-addressed store, hash-verified

22}
23
24export function PageSidebarShell({
25 storageKey,
26 titleKey,
27 defaultWidth,
28 sidebar,
29 actions,
30 children,
31}: PageSidebarShellProps) {
32 const { t } = useTranslation()
33 return (
34 <PageSidebarLayout
35 storageKey={storageKey}
36 title={t(titleKey)}
37 defaultWidth={defaultWidth}
38 actions={actions}
39 sidebar={sidebar}
40 >
41 {children}
42 </PageSidebarLayout>
43 )
44}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected