MCPcopy Create free account
hub / github.com/adobe/react-spectrum / wrapUpdate

Function wrapUpdate

packages/@react-spectrum/s2/src/Toast.tsx:109–111  ·  view source on GitHub ↗
(fn, action)

Source from the content-addressed store, hash-verified

107 globalToastQueue = new ToastQueue({
108 maxVisibleToasts: Infinity,
109 wrapUpdate(fn, action) {
110 startViewTransition(fn, `toast-${action}`);
111 }
112 });
113 }
114

Callers

nothing calls this directly

Calls 1

startViewTransitionFunction · 0.85

Tested by

no test coverage detected