UNPKG

motion

Version:

The Motion library for the web

18 lines (13 loc) 410 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var animated$1 = require('./animated.cjs.js'); const components = new Map(); const animated = new Proxy({}, { get: (_, key) => { if (!components.has(key)) { components.set(key, animated$1.createAnimatedComponent(key)); } return components.get(key); }, }); exports.animated = animated;