├── .changeset
├── README.md
└── config.json
├── .editorconfig
├── .eslintrc.js
├── .gitattributes
├── .gitignore
├── .prettierrc.js
├── LICENSE
├── README.md
├── docs
├── .nojekyll
├── README.md
├── _navbar.md
├── _sidebar.md
├── api.md
├── build-icon.js
├── components
│ ├── ActionSheet.md
│ ├── Badge.md
│ ├── Button.md
│ ├── Cell.md
│ ├── CellGroup.md
│ ├── DatePicker.md
│ ├── Icon.md
│ ├── ImageCropper.md
│ ├── IndexList.md
│ ├── Modal.md
│ ├── Navbar.md
│ ├── Picker.md
│ ├── Popup.md
│ ├── Search.md
│ ├── Spin.md
│ ├── Swiper.md
│ ├── TabBar.md
│ ├── Toast.md
│ └── Touchable.md
├── guide.md
└── index.html
├── package.json
├── packages
├── playground
│ ├── .buckconfig
│ ├── .flowconfig
│ ├── .gitattributes
│ ├── .gitignore
│ ├── .prettierrc.js
│ ├── .watchmanconfig
│ ├── CHANGELOG.md
│ ├── __tests__
│ │ └── App-test.tsx
│ ├── android
│ │ ├── app
│ │ │ ├── _BUCK
│ │ │ ├── build.gradle
│ │ │ ├── build_defs.bzl
│ │ │ ├── debug.keystore
│ │ │ ├── proguard-rules.pro
│ │ │ └── src
│ │ │ │ ├── debug
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ └── java
│ │ │ │ │ └── com
│ │ │ │ │ └── reactnativeui
│ │ │ │ │ └── ReactNativeFlipper.java
│ │ │ │ └── main
│ │ │ │ ├── AndroidManifest.xml
│ │ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── reactnativeui
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── MainApplication.java
│ │ │ │ └── res
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ ├── build.gradle
│ │ ├── gradle.properties
│ │ ├── gradle
│ │ │ └── wrapper
│ │ │ │ ├── gradle-wrapper.jar
│ │ │ │ └── gradle-wrapper.properties
│ │ ├── gradlew
│ │ ├── gradlew.bat
│ │ └── settings.gradle
│ ├── app.json
│ ├── babel.config.js
│ ├── index.js
│ ├── ios
│ │ ├── Podfile
│ │ ├── Podfile.lock
│ │ ├── ReactNativeUi.xcodeproj
│ │ │ ├── project.pbxproj
│ │ │ └── xcshareddata
│ │ │ │ └── xcschemes
│ │ │ │ └── ReactNativeUi.xcscheme
│ │ ├── ReactNativeUi.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ ├── ReactNativeUi
│ │ │ ├── AppDelegate.h
│ │ │ ├── AppDelegate.m
│ │ │ ├── Images.xcassets
│ │ │ │ ├── AppIcon.appiconset
│ │ │ │ │ └── Contents.json
│ │ │ │ └── Contents.json
│ │ │ ├── Info.plist
│ │ │ ├── LaunchScreen.storyboard
│ │ │ └── main.m
│ │ └── ReactNativeUiTests
│ │ │ ├── Info.plist
│ │ │ └── ReactNativeUiTests.m
│ ├── metro.config.js
│ ├── package.json
│ ├── public
│ │ └── index.html
│ ├── src
│ │ ├── components
│ │ │ ├── Demo
│ │ │ │ └── index.tsx
│ │ │ └── Switcher
│ │ │ │ └── index.tsx
│ │ ├── core
│ │ │ ├── constants.ts
│ │ │ └── router.tsx
│ │ ├── images
│ │ │ └── tabbar
│ │ │ │ ├── comp-selected.png
│ │ │ │ ├── comp.png
│ │ │ │ ├── tool-selected.png
│ │ │ │ └── tool.png
│ │ ├── index.tsx
│ │ ├── pages
│ │ │ ├── Badge
│ │ │ │ └── index.tsx
│ │ │ ├── Button
│ │ │ │ └── index.tsx
│ │ │ ├── Home
│ │ │ │ ├── index.tsx
│ │ │ │ └── tabs
│ │ │ │ │ ├── comp.tsx
│ │ │ │ │ └── tools.tsx
│ │ │ ├── Icon
│ │ │ │ └── index.tsx
│ │ │ ├── IndexList
│ │ │ │ └── index.tsx
│ │ │ ├── Modal
│ │ │ │ └── index.tsx
│ │ │ ├── Search
│ │ │ │ └── index.tsx
│ │ │ └── Toast
│ │ │ │ └── index.tsx
│ │ └── shim.d.ts
│ ├── tsconfig.json
│ ├── webpack.config.js
│ └── yarn.lock
└── ui-view
│ ├── .gitignore
│ ├── .vscode
│ └── settings.json
│ ├── .watchmanconfig
│ ├── CHANGELOG.md
│ ├── LICENSE
│ ├── README.md
│ ├── babel.config.js
│ ├── package.json
│ ├── scripts
│ └── svg
│ │ └── index.js
│ ├── src
│ ├── assets
│ │ └── svg
│ │ │ ├── add-circle-fill.svg
│ │ │ ├── add-circle.svg
│ │ │ ├── add-square.svg
│ │ │ ├── add.svg
│ │ │ ├── addteam.svg
│ │ │ ├── adduser.svg
│ │ │ ├── adjust.svg
│ │ │ ├── align-center.svg
│ │ │ ├── align-left.svg
│ │ │ ├── align-right.svg
│ │ │ ├── alipay-circle-fill.svg
│ │ │ ├── alipay.svg
│ │ │ ├── android-fill.svg
│ │ │ ├── android.svg
│ │ │ ├── apple-fill.svg
│ │ │ ├── apple.svg
│ │ │ ├── arrow-double-left.svg
│ │ │ ├── arrow-double-right.svg
│ │ │ ├── arrow-down-circle.svg
│ │ │ ├── arrow-down-filling.svg
│ │ │ ├── arrow-down.svg
│ │ │ ├── arrow-left-circle.svg
│ │ │ ├── arrow-left-filling.svg
│ │ │ ├── arrow-left.svg
│ │ │ ├── arrow-right-circle.svg
│ │ │ ├── arrow-right-filling.svg
│ │ │ ├── arrow-right.svg
│ │ │ ├── arrow-up-circle.svg
│ │ │ ├── arrow-up-filling.svg
│ │ │ ├── arrow-up.svg
│ │ │ ├── ashbin.svg
│ │ │ ├── attachment.svg
│ │ │ ├── back.svg
│ │ │ ├── bad.svg
│ │ │ ├── bell-fill.svg
│ │ │ ├── bell.svg
│ │ │ ├── bottom.svg
│ │ │ ├── calendar.svg
│ │ │ ├── camera.svg
│ │ │ ├── caps-lock.svg
│ │ │ ├── caps-unlock-filling.svg
│ │ │ ├── chart-bar.svg
│ │ │ ├── chart-pie.svg
│ │ │ ├── check-item-filling.svg
│ │ │ ├── check-item.svg
│ │ │ ├── check.svg
│ │ │ ├── clock-filling.svg
│ │ │ ├── close-circle-fill.svg
│ │ │ ├── close-circle.svg
│ │ │ ├── close.svg
│ │ │ ├── code.svg
│ │ │ ├── colum-height.svg
│ │ │ ├── column-3.svg
│ │ │ ├── column-4.svg
│ │ │ ├── column-horizontal.svg
│ │ │ ├── column-vertical.svg
│ │ │ ├── comment-filling.svg
│ │ │ ├── comment.svg
│ │ │ ├── complete.svg
│ │ │ ├── copy.svg
│ │ │ ├── cry-filling.svg
│ │ │ ├── cry.svg
│ │ │ ├── customer-service.svg
│ │ │ ├── cut.svg
│ │ │ ├── dash.svg
│ │ │ ├── data-view.svg
│ │ │ ├── database.svg
│ │ │ ├── decline-filling.svg
│ │ │ ├── delete-filling.svg
│ │ │ ├── delete.svg
│ │ │ ├── deleteuser.svg
│ │ │ ├── detail-more.svg
│ │ │ ├── dingtalk-circle-fill.svg
│ │ │ ├── dingtalk.svg
│ │ │ ├── discount.svg
│ │ │ ├── double-left.svg
│ │ │ ├── double-right.svg
│ │ │ ├── down.svg
│ │ │ ├── download.svg
│ │ │ ├── drag.svg
│ │ │ ├── dynamic-filling.svg
│ │ │ ├── edit-filling.svg
│ │ │ ├── edit.svg
│ │ │ ├── electronics.svg
│ │ │ ├── ellipsis.svg
│ │ │ ├── email.svg
│ │ │ ├── error.svg
│ │ │ ├── explain.svg
│ │ │ ├── export.svg
│ │ │ ├── eye-close.svg
│ │ │ ├── eye.svg
│ │ │ ├── fabulous.svg
│ │ │ ├── favorite-filling.svg
│ │ │ ├── favorite.svg
│ │ │ ├── file-add.svg
│ │ │ ├── file-common-filling.svg
│ │ │ ├── file-common.svg
│ │ │ ├── file-delete.svg
│ │ │ ├── file-open.svg
│ │ │ ├── file.svg
│ │ │ ├── film.svg
│ │ │ ├── filter-filling.svg
│ │ │ ├── filter.svg
│ │ │ ├── folder-close.svg
│ │ │ ├── folder-filling.svg
│ │ │ ├── forward.svg
│ │ │ ├── fullscreen-expand.svg
│ │ │ ├── fullscreen-shrink.svg
│ │ │ ├── github-fill.svg
│ │ │ ├── good.svg
│ │ │ ├── google-circle-fill.svg
│ │ │ ├── google.svg
│ │ │ ├── help-filling.svg
│ │ │ ├── help.svg
│ │ │ ├── hide.svg
│ │ │ ├── history-filling.svg
│ │ │ ├── history.svg
│ │ │ ├── home-filling.svg
│ │ │ ├── home.svg
│ │ │ ├── image-text.svg
│ │ │ ├── import.svg
│ │ │ ├── index.ts
│ │ │ ├── intermediate-filling.svg
│ │ │ ├── key.svg
│ │ │ ├── keyboard-26.svg
│ │ │ ├── keyboard-9.svg
│ │ │ ├── layers.svg
│ │ │ ├── layout-filling.svg
│ │ │ ├── layout.svg
│ │ │ ├── left.svg
│ │ │ ├── line.svg
│ │ │ ├── link.svg
│ │ │ ├── loading.svg
│ │ │ ├── lock.svg
│ │ │ ├── login.svg
│ │ │ ├── logout.svg
│ │ │ ├── map-filling.svg
│ │ │ ├── map.svg
│ │ │ ├── meh-filling.svg
│ │ │ ├── meh.svg
│ │ │ ├── menu.svg
│ │ │ ├── message.svg
│ │ │ ├── mic.svg
│ │ │ ├── minus-circle-fill.svg
│ │ │ ├── minus-circle.svg
│ │ │ ├── minus-square.svg
│ │ │ ├── minus.svg
│ │ │ ├── mobile-phone.svg
│ │ │ ├── modular.svg
│ │ │ ├── more.svg
│ │ │ ├── move.svg
│ │ │ ├── navigation.svg
│ │ │ ├── news-filling.svg
│ │ │ ├── notification-filling.svg
│ │ │ ├── notification.svg
│ │ │ ├── operation.svg
│ │ │ ├── pad.svg
│ │ │ ├── pdf.svg
│ │ │ ├── picture-filling.svg
│ │ │ ├── picture.svg
│ │ │ ├── pin.svg
│ │ │ ├── play.svg
│ │ │ ├── print.svg
│ │ │ ├── prompt-filling.svg
│ │ │ ├── prompt.svg
│ │ │ ├── qq-circle-fill.svg
│ │ │ ├── qq.svg
│ │ │ ├── question-circle-fill.svg
│ │ │ ├── question-circle.svg
│ │ │ ├── question.svg
│ │ │ ├── refresh.svg
│ │ │ ├── right.svg
│ │ │ ├── rise-filling.svg
│ │ │ ├── rotate-left.svg
│ │ │ ├── run-in.svg
│ │ │ ├── run-up.svg
│ │ │ ├── safetycertificate.svg
│ │ │ ├── save.svg
│ │ │ ├── scanning.svg
│ │ │ ├── search.svg
│ │ │ ├── security.svg
│ │ │ ├── select.svg
│ │ │ ├── send.svg
│ │ │ ├── setting-filling.svg
│ │ │ ├── setting.svg
│ │ │ ├── sever.svg
│ │ │ ├── share.svg
│ │ │ ├── sign-out.svg
│ │ │ ├── skip.svg
│ │ │ ├── small-dash.svg
│ │ │ ├── smile-filling.svg
│ │ │ ├── smile.svg
│ │ │ ├── sort-down.svg
│ │ │ ├── sort-menu.svg
│ │ │ ├── sort-up.svg
│ │ │ ├── sorting.svg
│ │ │ ├── stop.svg
│ │ │ ├── success-filling.svg
│ │ │ ├── success.svg
│ │ │ ├── survey.svg
│ │ │ ├── swap.svg
│ │ │ ├── switch.svg
│ │ │ ├── switchuser.svg
│ │ │ ├── sync.svg
│ │ │ ├── taobao-circle-fill.svg
│ │ │ ├── taobao.svg
│ │ │ ├── task-filling.svg
│ │ │ ├── task.svg
│ │ │ ├── team.svg
│ │ │ ├── telephone-out.svg
│ │ │ ├── telephone.svg
│ │ │ ├── text.svg
│ │ │ ├── time.svg
│ │ │ ├── toggle-left.svg
│ │ │ ├── toggle-right.svg
│ │ │ ├── top.svg
│ │ │ ├── training.svg
│ │ │ ├── transaction.svg
│ │ │ ├── twitter-circle-fill.svg
│ │ │ ├── twitter.svg
│ │ │ ├── undo.svg
│ │ │ ├── unlock.svg
│ │ │ ├── up.svg
│ │ │ ├── upload.svg
│ │ │ ├── user-circle-filling.svg
│ │ │ ├── user-circle.svg
│ │ │ ├── user.svg
│ │ │ ├── vertical-align-bottom.svg
│ │ │ ├── vertical-align-middle.svg
│ │ │ ├── vertical-align-top.svg
│ │ │ ├── vertical-left.svg
│ │ │ ├── vertical-right.svg
│ │ │ ├── video.svg
│ │ │ ├── voice.svg
│ │ │ ├── warning-filling.svg
│ │ │ ├── warning.svg
│ │ │ ├── wechat-circle-fill.svg
│ │ │ ├── wechat.svg
│ │ │ ├── weibo-circle-fill.svg
│ │ │ ├── weibo.svg
│ │ │ ├── wifi.svg
│ │ │ ├── work-filling.svg
│ │ │ ├── work.svg
│ │ │ ├── zhihu-circle-fill.svg
│ │ │ ├── zhihu.svg
│ │ │ ├── zoom-in.svg
│ │ │ └── zoom-out.svg
│ ├── components
│ │ ├── ActionSheet
│ │ │ └── index.tsx
│ │ ├── Badge
│ │ │ └── index.tsx
│ │ ├── Button
│ │ │ └── index.tsx
│ │ ├── Cell
│ │ │ ├── cell.tsx
│ │ │ └── cellGroup.tsx
│ │ ├── Icon
│ │ │ └── index.tsx
│ │ ├── ImageCropper
│ │ │ ├── index.tsx
│ │ │ └── index.web.tsx
│ │ ├── IndexList
│ │ │ ├── anchor.tsx
│ │ │ ├── index.tsx
│ │ │ └── list.tsx
│ │ ├── Modal
│ │ │ ├── index.tsx
│ │ │ └── modal.tsx
│ │ ├── Navbar
│ │ │ └── index.tsx
│ │ ├── Picker
│ │ │ ├── datePicker.tsx
│ │ │ ├── index.tsx
│ │ │ └── pickerView.tsx
│ │ ├── Popup
│ │ │ └── index.tsx
│ │ ├── Portal
│ │ │ ├── host.tsx
│ │ │ └── index.tsx
│ │ ├── Search
│ │ │ └── index.tsx
│ │ ├── Spin
│ │ │ └── index.tsx
│ │ ├── Styles
│ │ │ └── theme.ts
│ │ ├── Swiper
│ │ │ ├── swiper.tsx
│ │ │ └── swiperItem.tsx
│ │ ├── TabBar
│ │ │ ├── tabBar.tsx
│ │ │ └── tabBarItem.tsx
│ │ ├── Toast
│ │ │ └── index.tsx
│ │ └── Touchable
│ │ │ └── index.tsx
│ ├── index.ts
│ ├── lib
│ │ └── react-native-svg-uri
│ │ │ ├── index.tsx
│ │ │ └── utils.ts
│ └── utils
│ │ └── index.tsx
│ └── tsconfig.json
└── yarn.lock
/.changeset/README.md:
--------------------------------------------------------------------------------
1 | # Changesets
2 |
3 | Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4 | with multi-package repos, or single-package repos to help you version and publish your code. You can
5 | find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6 |
7 | We have a quick list of common questions to get you started engaging with this project in
8 | [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
9 |
--------------------------------------------------------------------------------
/.changeset/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json",
3 | "changelog": "@changesets/cli/changelog",
4 | "commit": false,
5 | "fixed": [],
6 | "linked": [],
7 | "access": "restricted",
8 | "baseBranch": "master",
9 | "updateInternalDependencies": "patch",
10 | "ignore": []
11 | }
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # Windows files
2 | [*.bat]
3 | end_of_line = crlf
4 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: '@react-native-community',
4 | plugins: ['react-hooks'],
5 | rules: {
6 | 'react-hooks/rules-of-hooks': 'error',
7 | 'react-hooks/exhaustive-deps': 'warn',
8 | },
9 | };
10 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | packages/playground/android/java_pid75013.hprof filter=lfs diff=lfs merge=lfs -text
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | .DS_Store
--------------------------------------------------------------------------------
/.prettierrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | bracketSpacing: true,
3 | jsxBracketSameLine: false,
4 | singleQuote: true,
5 | trailingComma: 'all',
6 | arrowParens: 'avoid',
7 | printWidth: 120,
8 | semi: true,
9 | };
10 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 guyue88
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/docs/.nojekyll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/guyue88/react-native-ui-view/a8d4dcaabc88d6615a3630d06bf9963d8b9ccdca/docs/.nojekyll
--------------------------------------------------------------------------------
/docs/README.md:
--------------------------------------------------------------------------------
1 | # React Native Ui View
2 |
3 | 
4 | 
5 |
6 | React Native Ui View 是一个 react native 组件库,全面兼容 react native 生态框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水。
7 |
8 | ## 组件列表
9 |
10 | - [x] ActionSheet
11 | - [x] Badge
12 | - [x] Button
13 | - [x] Cell
14 | - [x] CellGroup
15 | - [x] Icon
16 | - [x] ImageCropper
17 | - [x] IndexList
18 | - [x] Modal
19 | - [x] Navbar
20 | - [x] Picker
21 | - [x] Popup
22 | - [x] Portal
23 | - [x] Search
24 | - [x] Spin
25 | - [x] Swiper
26 | - [x] Tabbar
27 | - [x] Toast
28 | - [x] Touchable
29 |
30 | ## 适用领域
31 |
32 | React Native Ui View 是 react native 生态专用的 UI 框架,目前仅支持在 react native 中使用,部分组件可以支持在 react-native-web 中使用。
33 |
34 | ## 版权信息
35 |
36 | React Native Ui View 遵循 MIT (opens new window)开源协议,意味着您无需支付任何费用,也无需授权,即可将 React Native Ui View 应用到您的产品中。
37 |
38 | 注意:这并不意味着您可以将 React Native Ui View 应用到非法的领域,比如涉及赌博,暴力等方面。如因此产生纠纷或法律问题,React Native Ui View 不承担任何责任。
39 |
--------------------------------------------------------------------------------
/docs/_navbar.md:
--------------------------------------------------------------------------------
1 | - [主页](/)
2 | - [指南](guide.md)
3 | - [组件](components/button.md)
4 | - [API](api.md)
5 |
--------------------------------------------------------------------------------
/docs/_sidebar.md:
--------------------------------------------------------------------------------
1 | - [主页](/ 'React Native Ui View')
2 | - [快速开始](guide.md '快速开始')
3 | - 组件
4 | - [ActionSheet](components/ActionSheet.md 'ActionSheet 操作菜单')
5 | - [Badge](components/Badge.md 'Badge 徽标数')
6 | - [Button](components/Button.md 'Button 按钮')
7 | - [Cell](components/Cell.md 'Cell 单元格')
8 | - [CellGroup](components/CellGroup.md 'CellGroup 单元格组')
9 | - [DatePicker](components/DatePicker.md 'DatePicker 时间选择器')
10 | - [Icon](components/Icon.md 'Icon 图标')
11 | - [ImageCropper](components/ImageCropper.md 'ImageCropper 图片裁剪器')
12 | - [IndexList](components/IndexList.md 'IndexList 索引列表')
13 | - [Modal](components/Modal.md 'Modal 模态框')
14 | - [Navbar](components/Navbar.md 'Navbar 导航栏')
15 | - [Picker](components/Picker.md 'Picker 选择器')
16 | - [Popup](components/Popup.md 'Popup 弹出层')
17 | - [Search](components/Search.md 'Search 搜索')
18 | - [Spin](components/Spin.md 'Spin 加载动画')
19 | - [Swiper](components/Swiper.md 'Swiper 轮播图')
20 | - [TabBar](components/TabBar.md 'TabBar 底部导航')
21 | - [Toast](components/Toast.md 'Toast 消息提示')
22 | - [Touchable](components/Touchable.md 'Touchable 可点元素')
23 | - [API](api.md)
24 |
--------------------------------------------------------------------------------
/docs/api.md:
--------------------------------------------------------------------------------
1 | # API
2 |
3 | 暂未提供
4 |
--------------------------------------------------------------------------------
/docs/components/Badge.md:
--------------------------------------------------------------------------------
1 | # Badge 徽标数
2 |
3 | 该组件一般用于图标右上角显示未读的消息数量,提示用户点击,有圆点和圆包含文字两种形式
4 |
5 | ## 平台差异性说明
6 |
7 | | ReactNative | WEB |
8 | | ----------- | --- |
9 | | √ | √ |
10 |
11 | ## 基本使用
12 |
13 | ```typescript
14 | import React from 'react';
15 | import { Badge } from 'react-native-ui-view';
16 |
17 | const Demo: React.FC<{}> = () => {
18 | return ;
19 | };
20 | ```
21 |
22 | ## Props
23 |
24 | | 参数 | 说明 | 类型 | 必填 | 默认值 |
25 | | ------------- | --------------------------------- | -------------- | ---- | ------ |
26 | | text | 显示的文字 | string | √ | - |
27 | | size | 显示大小 | large \| small | × | small |
28 | | corner | 是否显示在右上角,绝对定位 | boolean | × | false |
29 | | dot | 是否显示为一个红点 | number | × | false |
30 | | overflowCount | 超出这个值显示为${overflowCount}+ | number | × | 99 |
31 |
--------------------------------------------------------------------------------
/docs/components/Button.md:
--------------------------------------------------------------------------------
1 | # Button 按钮
2 |
3 | 按钮
4 |
5 | ## 平台差异性说明
6 |
7 | | ReactNative | WEB |
8 | | ----------- | --- |
9 | | √ | √ |
10 |
11 | ## 基本使用
12 |
13 | ```typescript
14 | import React from 'react';
15 | import { Button } from 'react-native-ui-view';
16 |
17 | const Demo: React.FC<{}> = () => {
18 | return