Mission Control Dashboard - Initial implementation
This commit is contained in:
10
node_modules/motion-dom/dist/es/utils/supports/memo.mjs
generated
vendored
Normal file
10
node_modules/motion-dom/dist/es/utils/supports/memo.mjs
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { memo } from 'motion-utils';
|
||||
import { supportsFlags } from './flags.mjs';
|
||||
|
||||
function memoSupports(callback, supportsFlag) {
|
||||
const memoized = memo(callback);
|
||||
return () => supportsFlags[supportsFlag] ?? memoized();
|
||||
}
|
||||
|
||||
export { memoSupports };
|
||||
//# sourceMappingURL=memo.mjs.map
|
||||
Reference in New Issue
Block a user