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

Function useModalContext

packages/shared/src/components/modals/common/types.ts:149–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147});
148
149export const useModalContext = (): ModalContextProps =>
150 useContext(ModalPropsContext);
151
152export function modalTabTitle(tab: string | ModalTabItem): string {
153 return typeof tab === 'string' ? tab : tab.title;

Callers 5

DrawerImgFunction · 0.90
ModalImgFunction · 0.90
ModalCloseComponentFunction · 0.90
SidebarListFunction · 0.90
BuyCreditsButtonFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected