UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

14 lines (13 loc) 283 B
import * as o from "react"; function f(t, a, { checkForDefaultPrevented: u = !0 } = {}) { return function(e) { if (t?.(e), u === !1 || !e.defaultPrevented) return a?.(e); }; } var n = globalThis?.document ? o.useLayoutEffect : () => { }; export { f as c, n as u };