当我在npm上安装react-native-svg时,我得到了以下信息:
开始从github下载PerformanceBezier to /Users/username/AwesomeProject/node_modules/react-native-svg/ios/PerformanceBezier下载PerformanceBezier库失败,错误:{错误: ENOTEMPTY:目录不为空,重命名'/Users/username/AwesomePr
我使用react-native-svg中的SvgCss来显示和更改几个外部svg的颜色。 我把onPress放在上面,它在大多数情况下都能像预期的那样工作。from 'react';import { Text } from 'native-base';
import { SvgCss } from 'react-native-svg