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

Function wrapStopPropagation

packages/shared/src/lib/func.ts:144–148  ·  view source on GitHub ↗
(callback: () => void)

Source from the content-addressed store, hash-verified

142
143export const wrapStopPropagation =
144 (callback: () => void): ((event: MouseEvent) => unknown) =>
145 (event: MouseEvent) => {
146 event.stopPropagation();
147 callback();
148 };
149
150export const sortAlphabeticallyByProperty =
151 <T>(property: keyof T) =>

Callers 3

CardCoverShareFunction · 0.90
SlackCtaButtonFunction · 0.90
PostReminderOptionsFunction · 0.90

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected