Skip to content

Commit 0b6f417

Browse files
committed
doc(website): Update website document
1 parent 25fd0b2 commit 0b6f417

File tree

150 files changed

+447
-156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+447
-156
lines changed

example/examples/src/routes/Drawer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, {useState, Fragment} from 'react';
2-
import {View, Text} from 'react-native';
2+
import {View, Text, Bott} from 'react-native';
33
import {Button, Drawer, Spacing, WingBlank} from '@uiw/react-native';
44
import Layout, {Container} from '../../Layout';
55
import {ComProps} from '../../routes';

example/examples/src/routes/TransitionImage/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ const TransitionImageDemo = (props: any) => {
1313
<Header title={title} description={description} />
1414
<TransitionImage
1515
source={{
16-
uri: 'https://img11.51tietu.net/pic/2016-071418/20160714181543xyu10ukncwf221991.jpg',
16+
uri: 'https://iknow-pic.cdn.bcebos.com/810a19d8bc3eb135828572d2ab1ea8d3fd1f441d',
1717
}}
1818
style={{width: 200, height: 200}}
1919
PlaceholderContent={<ActivityIndicator />}
20-
placeholderStyle={{backgroundColor: 'red'}}
21-
containerStyle={{backgroundColor: '#eee'}}
20+
// placeholderStyle={{backgroundColor: 'red'}}
21+
// containerStyle={{backgroundColor: '#eee'}}
2222
transition={true}
2323
transitionDuration={1000}
2424
onPress={() => console.log('点击图片回调事件')}

packages/core/src/ActionSheet/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ActionSheet 动作面板
33

44
该组件提供了一种动作面板, 底部缓缓出现
55

6-
## 基础示例
6+
### 基础示例
77

88
```jsx
99
import { Fragment, useState } from 'react';
@@ -24,7 +24,7 @@ function Demo() {
2424
}
2525
```
2626

27-
## 弹层关闭 && 自定义取消文本
27+
### 弹层关闭 && 自定义取消文本
2828

2929
```jsx
3030
import { Fragment, useState } from 'react';
@@ -47,7 +47,7 @@ function Demo() {
4747
}
4848
```
4949

50-
## Props
50+
### Props
5151

5252
```ts
5353
import { StyleProp, ViewStyle } from 'react-native';
@@ -76,7 +76,7 @@ export interface ActionSheetProps extends ModalProps {
7676
}
7777
```
7878

79-
## ActionSheetItem Props
79+
### ActionSheetItem Props
8080

8181
```ts
8282
import { TextStyle, StyleProp, ViewStyle } from 'react-native';

packages/core/src/Avatar/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Avatar 头像
33

44
用来代表用户或事物,支持图片展示,当前是基于 React Native 组件 Image 封装,你也可以使用更快的图片展示插件 [react-native-fast-image](https://github.com/DylanVann/react-native-fast-image)
55

6-
## 基础示例
6+
7+
### 基础示例
78

89
```jsx
910
import { View } from 'react-native';
@@ -21,7 +22,7 @@ function Demo() {
2122
}
2223
```
2324

24-
## props
25+
### props
2526

2627
继承 [View](https://facebook.github.io/react-native/docs/view#props) 组件。
2728

packages/core/src/Badge/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Badge 标记
22
---
33

4-
## 基础示例
4+
### 基础示例
55

66
```jsx
77
import { View, Text } from 'react-native';
@@ -17,7 +17,7 @@ function Demo() {
1717
}
1818
```
1919

20-
## Props
20+
### Props
2121

2222
继承 [View](https://facebook.github.io/react-native/docs/view#props) 组件。
2323

packages/core/src/Button/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class Demo extends Component {
100100
<!--End-->
101101

102102

103-
## 显示边框
103+
### 显示边框
104104

105105
```jsx
106106
import { Button } from '@uiw/react-native';
@@ -112,7 +112,7 @@ function Demo() {
112112
}
113113
```
114114

115-
## 自定义圆角
115+
### 自定义圆角
116116

117117
```jsx
118118
import { Fragment } from 'react';
@@ -133,7 +133,7 @@ function Demo() {
133133
}
134134
```
135135

136-
## Props
136+
### Props
137137

138138
组件继承 [`TouchableOpacity`](https://facebook.github.io/react-native/docs/touchableopacity#docsNav)
139139

packages/core/src/ButtonGroup/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Demo extends Component {
115115
<!--End-->
116116

117117

118-
## Props
118+
### Props
119119

120120
集成继承 `Button` 组件自定义属性,外层包裹继承 [`Flex`] 组件。
121121

packages/core/src/CheckBox/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CheckBox 复选框
33

44
一组备选项中进行多选。
55

6-
## 基础示例
6+
### 基础示例
77

88
```jsx
99
import { CheckBox } from '@uiw/react-native';
@@ -23,7 +23,7 @@ function Demo() {
2323
```
2424

2525

26-
## 基础示例
26+
### 基础示例
2727

2828
```jsx
2929
import { Badge, List, CheckBox } from '@uiw/react-native';
@@ -54,7 +54,7 @@ function Demo() {
5454
}
5555
```
5656

57-
## props
57+
### props
5858

5959
继承 [TouchableOpacityProps](https://facebook.github.io/react-native/docs/touchableopacity#props) 组件。
6060

packages/core/src/Divider/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Divider 分割线
33

44
区隔内容的分割线。
55

6-
## 基础示例
6+
### 基础示例
77

88
```jsx
99
import { Fragment } from 'react';
@@ -23,7 +23,7 @@ function Demo() {
2323
}
2424
```
2525

26-
## 纵向分割线
26+
### 纵向分割线
2727

2828
```jsx
2929
import { View, Text } from 'react-native';
@@ -38,7 +38,7 @@ function Demo() {
3838
}
3939
```
4040

41-
## props
41+
### props
4242

4343
继承 [View](https://facebook.github.io/react-native/docs/view#props) 组件。
4444

packages/core/src/Drawer/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Drawer 抽屉
33

44
用于在屏幕边缘显示应用导航等内容的面板。
55

6-
## 基础示例
6+
### 基础示例
77

88
```jsx
99
import { Fragment, useState } from 'react';
@@ -28,7 +28,7 @@ function Demo() {
2828
}
2929
```
3030

31-
## 右边展示
31+
### 右边展示
3232

3333
```jsx
3434
import { Fragment, useState } from 'react';
@@ -54,7 +54,7 @@ function Demo() {
5454
}
5555
```
5656

57-
## 注意事项 - 抽屉高度是页面有效高度
57+
### 注意事项 - 抽屉高度是页面有效高度
5858

5959
```jsx
6060
import { Fragment, useState } from 'react';
@@ -79,7 +79,7 @@ function Demo() {
7979
}
8080
```
8181

82-
## 抽屉覆盖全屏
82+
### 抽屉覆盖全屏
8383

8484
- 可查看 [react-native-root-siblings](https://www.npmjs.com/package/react-native-root-siblings) 文档
8585
```jsx
@@ -127,7 +127,7 @@ function Demo() {
127127
}
128128
```
129129

130-
## props
130+
### props
131131

132132
| 参数 | 说明 | 类型 | 默认值 |
133133
|------|------|-----|------|

0 commit comments

Comments
 (0)