Skip to content

Commit

Permalink
docs(Textarea): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Nov 24, 2022
1 parent 69b6aad commit c6c1175
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/textarea/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ isComponent: true

## 代码演示

### 类型
### 组件类型

基础多行文本框

Expand All @@ -41,13 +41,13 @@ isComponent: true

{{ maxcharacter }}

### 状态
### 组件状态

禁用多行文本框

{{ disabled }}

### 自定义样式
### 自定义组件样式

标签外置输入框

Expand Down
6 changes: 3 additions & 3 deletions src/textarea/_example/textarea.wxml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<view class="textarea-example">
<view class="demo-title">Textarea 多行文本框</view>
<view class="demo-desc">用于多行文本信息输入。</view>
<t-demo title="01 类型" desc="基础多行文本框">
<t-demo title="01 组件类型" desc="基础多行文本框">
<base />
</t-demo>
<t-demo title="" desc="带标题多行文本框">
Expand All @@ -16,10 +16,10 @@
<t-demo desc="设置最大字符个数,一个汉字表示两个字符">
<maxcharacter />
</t-demo>
<t-demo title="02 状态" desc="禁用多行文本框">
<t-demo title="02 组件状态" desc="禁用多行文本框">
<disabled />
</t-demo>
<t-demo title="03 自定义样式" desc="标签外置输入框">
<t-demo title="03 自定义组件样式" desc="标签外置输入框">
<custom />
</t-demo>
</view>

0 comments on commit c6c1175

Please sign in to comment.