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

Function tabId

packages/shared/src/components/plus/PlusFeedBanner.tsx:41–41  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

39 const isPlaying = inView && !pinned && !paused && !isReducedMotion;
40 const uid = useId();
41 const tabId = (id: string) => `${uid}-tab-${id.replace(/\s+/g, '-')}`;
42 const panelId = `${uid}-panel`;
43 const feature =
44 plusBannerFeatures.find((item) => item.id === selected) ??

Callers 2

onTabKeyDownFunction · 0.70
PlusFeedBannerFunction · 0.70

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected