Permalink
Browse files

[ReactNative] LayoutAnimation brevity

Summary:
@public

Less verbose - now can just do `LayoutAnimation.easeInEaseOut()` instead of
`LayoutAnimation.configureNext(LayoutAnimation.Presets.easeInEaseOut)`

Test Plan: D2171336, play with AdsManager pickers.
  • Loading branch information...
sahrens committed Jun 26, 2015
1 parent fe7edf0 commit 29e49bdb9151b02d91f106dd893e561ae96c77b1
Showing with 6 additions and 0 deletions.
  1. +6 −0 Libraries/Animation/LayoutAnimation.js
@@ -114,4 +114,10 @@ var LayoutAnimation = {
}
};
for (var key in LayoutAnimation.Presets) {
LayoutAnimation[key] = LayoutAnimation.configureNext.bind(
null, LayoutAnimation.Presets[key]
);
}
module.exports = LayoutAnimation;

0 comments on commit 29e49bd

Please sign in to comment.