import{useContext as e,createElement as o}from"react";import{__spread as t,__assign as r}from"../../../../node_modules/tslib/tslib.es6.js";import{MotionConfigContext as n}from"../../context/MotionConfigContext.js";function i(i,s,m){for(var f=e(n),l=t(i,f.features),u=l.length,a=[],p=0;p<u;p++){var d=l[p],v=d.shouldRender,c=d.key,g=d.getComponent;if(v(m)){var h=g(m);h&&a.push(o(h,r({key:c},m,{visualElement:s})))}}return a}export{i as useFeatures};
//# sourceMappingURL=use-features.js.map
