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

Function wrapStopPropagation

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

Source from the content-addressed store, hash-verified

130
131export const wrapStopPropagation =
132 (callback: () => void): ((event: MouseEvent) => unknown) =>
133 (event: MouseEvent) => {
134 event.stopPropagation();
135 callback();
136 };
137
138export const sortAlphabeticallyByProperty =
139 <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