addimated
Version:
An always interruptable, declarative animation library for React
53 lines (49 loc) • 1.65 kB
JavaScript
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
import _createClass from "@babel/runtime/helpers/esm/createClass";
import invariant from "invariant";
var Animated =
/*#__PURE__*/
function () {
function Animated() {
_classCallCheck(this, Animated);
}
_createClass(Animated, [{
key: "__attach",
value: function __attach() {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "__attach is not implemented") : invariant(false) : void 0;
}
}, {
key: "__detach",
value: function __detach() {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "__detach is not implemented") : invariant(false) : void 0;
}
}, {
key: "__getValue",
value: function __getValue() {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "__getValue is not implemented") : invariant(false) : void 0;
}
}, {
key: "__getAnimatedValue",
value: function __getAnimatedValue() {
return this.__getValue();
}
}, {
key: "__addChild",
value: function __addChild(_child) {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "__addChild is not implemented") : invariant(false) : void 0;
}
}, {
key: "__removeChild",
value: function __removeChild(_child) {
!false ? process.env.NODE_ENV !== "production" ? invariant(false, "__removeChild is not implemented") : invariant(false) : void 0;
}
}, {
key: "__getChildren",
value: function __getChildren() {
return new Set();
}
}]);
return Animated;
}();
export { Animated };
//# sourceMappingURL=Animated.js.map