MCPcopy Create free account
hub / github.com/dailydotdev/apps / MainLayout

Function MainLayout

packages/shared/src/components/MainLayout.tsx:496–513  ·  view source on GitHub ↗
({
  layoutVariant,
  ...props
}: MainLayoutProps)

Source from the content-addressed store, hash-verified

494}
495
496const MainLayout = ({
497 layoutVariant,
498 ...props
499}: MainLayoutProps): ReactElement => (
500 <LayoutVariantContext.Provider value={layoutVariant}>
501 <ActiveFeedNameContextProvider>
502 <SearchProvider>
503 <SpotlightProvider>
504 <TopHeroSlotProvider>
505 <ShellPageProvider>
506 <MainLayoutComponent {...props} />
507 </ShellPageProvider>
508 </TopHeroSlotProvider>
509 </SpotlightProvider>
510 </SearchProvider>
511 </ActiveFeedNameContextProvider>
512 </LayoutVariantContext.Provider>
513);
514
515export default MainLayout;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected