# react-native-zc-app-component **Repository Path**: enjoe/react-native-zc-app-component ## Basic Information - **Project Name**: react-native-zc-app-component - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-22 - **Last Updated**: 2021-08-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 智厨 React Native App 组件库 按照下面步骤生成发布代码。 ```zsh $ yarn install $ yarn build ``` src 目录是开发代码所在目录 lib 目录是通过 `tsc` 生成的最终发布代码 发布前需要先在 `package.json` 文件的 version 字段更新版本号,然后通过 git tag 打上新的版本号,最后 git push 到远程仓库发布。 ---------- ## 引用方式 由于本组件库属于私有 npm 库,不通过 npm registry 发布,所以需要通过特定方式来引用。 ### 一、git 引用(推荐) ``` //package.json "react-native-zc-app-component": "git+https://gitee.com/enjoe/react-native-zc-app-component.git#0.0.1" //远程仓库引用 ``` ### 二、直接文件引用 生成 lib 目录后,直接复制该目录到项目中使用 ---------- ## 本组件库组件 具体使用方式请参考 Example 实例项目 1. Confirm 2. Tip 3. Loading 4. SlideModal 5. Popup