Skip to content

Commit

Permalink
doc(Slider): Update document.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 3, 2021
1 parent a3a76ce commit 7b63816
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@uiw/react-native",
"version": "2.0.3",
"description": "UIW for React Native",
"homepage": "https://uiwjs.github.io/react-native-uiw/",
"main": "lib/index.js",
"scripts": {},
"keywords": [
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/SegmentedControl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ SegmentedControl 分段器

由至少 2 个分段控件组成,用作不同视图的显示;是 iOS 的推荐组件。

> 即将启用,交于社区维护 [@react-native-community/react-native-segmented-control](https://github.com/react-native-community/react-native-segmented-control)
> 即将启用,交于社区维护 [@react-native-community/react-native-segmented-control](https://github.com/react-native-segmented-control/segmented-control)
<!--rehype:style=border-left: 8px solid #ffe564;background-color: #ffe56440;padding: 12px 16px;-->
## 基础示例

Expand Down
5 changes: 4 additions & 1 deletion packages/core/src/Slider/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
Slider 滑块输入条
---

允许用户在一个区间中选择特定值。自带 Slider 已经过时,交于社区维护 [`react-native-slider`](https://github.com/react-native-community/react-native-slider),当前组件是重新封装保持 iOS/android 效果一致。
允许用户在一个区间中选择特定值。

> 自带 Slider 已经过时,交于社区维护 [`react-native-slider`](https://github.com/react-native-community/react-native-slider),当前组件是重新封装保持 iOS/android 效果一致。
<!--rehype:style=border-left: 8px solid #ffe564;background-color: #ffe56440;padding: 12px 16px;-->
## 基础示例

Expand Down
1 change: 1 addition & 0 deletions packages/core/src/Switch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Switch 开关
表示两种相互对立的状态间的切换,多用于触发「开/关」,这是 `React Naitve` 自带的组件重新封装,目的是为了保持 iOS/Android 一致的效果。

> 自带组件 Switch 已过时,将很快删除。
<!--rehype:style=border-left: 8px solid #ffe564;background-color: #ffe56440;padding: 12px 16px;-->
## 基础示例

Expand Down

0 comments on commit 7b63816

Please sign in to comment.