Restructuring FBReactKit project: Part 2

This commit is contained in:
Nick Lockwood 2015-06-28 10:58:26 -07:00
parent 73b032ab87
commit 8708c35702
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ var Touchable = require('Touchable');
var merge = require('merge');
var onlyChild = require('onlyChild');
var invariant = require('invariant');
invariant(
AnimationExperimental || POPAnimation,
'Please add the RCTAnimationExperimental framework to your project, or add //Libraries/FBReactKit:RCTPOPAnimation to your BUCK file if running internally within Facebook.'
);
type State = {
animationID: ?number;
};