react-native 颜色渐变之react-native-linear-gradient 基础教程
安装:npminstallreact-native-linear-gradient--save-devreact-nativelinkreact-native-linear-gradient//自动连接项目安装之后运行react-nativerun-android可能会报错,别管多run几次;例子:importReactfrom'react'import{View,Text,StyleSheet,