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

Function MainLayout

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected