Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

勘误 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/guide/borderBox.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
## 自定义颜色
所有边框均支持自定义颜色及背景色,配置项及示例如下。

```html
```jsx
<BorderBox1 color={['red', 'green']} backgroundColor='blue'>BorderBox1</BorderBox1>
```

Expand Down Expand Up @@ -75,7 +75,7 @@ backgroundColor|背景色|`string`|`-`|`-`
<div class="border-box-contaier" id="border-box-contaier4-1"></div>

```html
<BorderBox4 reverse="{true}">BorderBox4</BorderBox4>
<BorderBox4 reverse={true}>BorderBox4</BorderBox4>
```

与上边的边框组件略有不同的是,该组件具有翻转形态,你只需要设置 reverse 属性为 true 即可
Expand All @@ -97,7 +97,7 @@ backgroundColor|背景色|`string`|`-`|`-`
<div class="border-box-contaier" id="border-box-contaier5-1"></div>

```html
<BorderBox5 reverse="{true}">BorderBox5</BorderBox5>
<BorderBox5 reverse={true}>BorderBox5</BorderBox5>
```

<click-to-copy :info="info5Reverse" />
Expand Down Expand Up @@ -143,7 +143,7 @@ dur|单次动画时长(秒)|`Number`|`-`|`3`
<div class="border-box-contaier" id="border-box-contaier8-1"></div>

```html
<BorderBox8 reverse="{true}">BorderBox8</BorderBox8>
<BorderBox8 reverse={true}>BorderBox8</BorderBox8>
```
<click-to-copy :info="info8Reverse" />

Expand Down
4 changes: 2 additions & 2 deletions docs/guide/decoration.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sidebarDepth: 2
## 自定义颜色
所有装饰均支持自定义颜色,配置项及示例如下。

```html
```jsx
<Decoration1 color={['red', 'green']} />
```

Expand Down Expand Up @@ -60,7 +60,7 @@ color|自定义颜色|`string[]`|`-`|`-`
<div class="decoration-contaier" id="decoration-contaier3"></div>

```html
<Decoration3 style={{width: '250px', height: '30px'}],} />
<Decoration3 style={{width: '250px', height: '30px'}} />
```

<click-to-copy :info="info3" />
Expand Down