UNPKG

animated

Version:

Declarative Animations Library for React and React Native

25 lines (10 loc) 1.24 kB
'use strict';var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}var Animated=function(){function Animated(){_classCallCheck(this,Animated);}_createClass(Animated,[{key:'__attach',value:function __attach() {}},{key:'__detach',value:function __detach() {}},{key:'__getValue',value:function __getValue() {}},{key:'__getAnimatedValue',value:function __getAnimatedValue() {return this.__getValue();}},{key:'__addChild',value:function __addChild( child){}},{key:'__removeChild',value:function __removeChild( child){}},{key:'__getChildren',value:function __getChildren() {return[];}}]);return Animated;}(); module.exports=Animated;