component
npm install riddick-react-native
import { RiddickReactNativeView } from "riddick-react-native";
// ...
<RiddickReactNativeView color="tomato" />
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library
.gitignore 设置的忽略文件,在git代码管理和 npm publish 都会被忽略
.npmignore的写法跟**.gitignore** 的规则完全一样。若同时使用了**.npmignore和.gitignore**,只有**.npmignore**会生效,优先级比较高
在 package.json 中 files 字段设置发布哪些文件或目录。这个优先级高于 .npmignore和 .gitignore
在 package.json 中 files 字段前添加 "react-native": "src/index",