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:
commit
35c6bb4858
|
@ -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;
|
Loading…
Reference in New Issue