@infinityfx/lively
Version:
Feature complete, lightweight react animation library.
4 lines (3 loc) • 477 B
JavaScript
"use client";
import{jsx as r}from"react/jsx-runtime";import{Children as t}from"react";import e from"../animatable.js";function i({children:i,stagger:a=1,staggerLimit:m=Number.MAX_VALUE,...p}){return r(e,{...p,stagger:-1*a,staggerLimit:m,children:t.map(i,(t=>"string"!=typeof t&&"number"!=typeof t?t:t.toString().split("").map((t=>r("span",{style:{whiteSpace:" "===t?"pre-wrap":void 0},children:t})))))})}i.isLively=!0;export{i as default};
//# sourceMappingURL=typable.js.map