Merge pull request #174 from designorant/master

Add index.js to save everyone fiddling with their eslint and/or flow configs

# Tested on iOS and Android by @gantman before merging
This commit is contained in:
Gant Laborde 2017-06-11 10:58:21 -05:00 committed by GitHub
commit 35c6bb4858
1 changed files with 9 additions and 0 deletions

9
index.js Normal file
View File

@ -0,0 +1,9 @@
import { Platform } from "react-native";
import LinearGradientIos from "./index.ios.js";
import LinearGradientAndroid from "./index.android.js";
const LinearGradient = Platform.OS === "ios"
? LinearGradientIos
: LinearGradientAndroid;
export default LinearGradient;