From 77a40b623767a9b8b52ff6d34873902e472490f2 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Tue, 19 Sep 2017 09:42:43 -0700 Subject: [PATCH] [fix] Easing import when using babel plugin Fix #649 --- src/apis/Easing/index.js | 13 +++++++++++++ src/module.js | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/apis/Easing/index.js diff --git a/src/apis/Easing/index.js b/src/apis/Easing/index.js new file mode 100644 index 00000000..f0b43f31 --- /dev/null +++ b/src/apis/Easing/index.js @@ -0,0 +1,13 @@ +/** + * Copyright (c) 2016-present, Nicolas Gallagher. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. + * + * @providesModule Easing + * @noflow + */ + +import Easing from 'animated/lib/Easing'; +export default Easing; diff --git a/src/module.js b/src/module.js index 2587399b..267b13aa 100644 --- a/src/module.js +++ b/src/module.js @@ -12,7 +12,7 @@ export { default as AsyncStorage } from './apis/AsyncStorage'; export { default as BackAndroid } from './apis/BackAndroid'; export { default as Clipboard } from './apis/Clipboard'; export { default as Dimensions } from './apis/Dimensions'; -export { default as Easing } from 'animated/lib/Easing'; +export { default as Easing } from './apis/Easing'; export { default as I18nManager } from './apis/I18nManager'; export { default as Keyboard } from './apis/Keyboard'; export { default as InteractionManager } from './apis/InteractionManager';