Skip to content

Commit

Permalink
feat(TabBar): 示例文档更新
Browse files Browse the repository at this point in the history
  • Loading branch information
toby committed Aug 21, 2024
1 parent a17f3b2 commit 77adc0f
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 10 deletions.
41 changes: 41 additions & 0 deletions docs/mobile/api/tab-bar.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: TabBar
description: Used to quickly switch between different functional modules, located at the bottom of the page.
spline: base
isComponent: true
toc: false
---

### Component Type

Plain text TabBar

{{ text }}

Icon plus text TabBar

{{ base }}

Pure icon TabBar

{{ pure-icon }}

Double level plain text TabBar

{{ text-spread }}

### Component Style

Weakly select TabBar

{{ badge-props }}

Suspension capsule TabBar

{{ round }}

### Custom

Custom style

{{ custom }}
32 changes: 22 additions & 10 deletions docs/mobile/api/tab-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,36 @@ isComponent: true
toc: false
---

### 基础标签栏
### 组件类型

文本标签栏,分为单层双层,可以自定义标签栏内容
纯文本标签栏

{{ text }}

图标加文字标签栏

{{ base }}

### 带徽章标签栏
纯图标标签栏

{{ badge-props }}
{{ pure-icon }}

### 纯文本标签栏
双层级纯文本标签栏

{{ text }}
{{ text-spread }}

### 纯图标标签栏
### 组件样式

{{ pure-icon }}
弱选中标签栏

{{ badge-props }}

### 双层级纯文本标签栏
悬浮胶囊标签栏

{{ text-spread }}
{{ round }}

### 自定义

自定义样式

{{ custom }}

0 comments on commit 77adc0f

Please sign in to comment.