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

docs(Collapse): update mobile-react-collapse docs #1904

Merged
merged 3 commits into from
Aug 27, 2024
Merged
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
36 changes: 36 additions & 0 deletions docs/mobile/api/collapse.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: Collapse
description: Collapse is used to group and hide complex areas, and is often used to display order information.
spline: base
isComponent: true
toc: false
---

### Component Type

#### Base Collapse

Collapse is used to group and hide complex areas, and is often used to display order information.

{{ base }}

#### Expansion Up

{{ placement }}

#### Tape Operation Instruction

{{ action }}

#### Accordion Style

Display and hide information in groups, displaying only one group of information at a time.

{{ accordion }}


### Component Style

#### Card Collapse

{{ card }}
21 changes: 18 additions & 3 deletions docs/mobile/api/collapse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,31 @@ isComponent: true
toc: false
---

### 基础折叠面板
### 组件类型

#### 基础折叠面板

主要用于对复杂区域进行分组和隐藏 常用于订单信息展示等

{{ base }}

### 带操作说明
#### 向上展开

{{ placement }}

#### 带操作说明

{{ action }}

### 手风琴式
#### 手风琴式

对信息进行分组展示和隐藏,每次只展示一组信息

{{ accordion }}


### 组件样式

#### 卡片折叠面板

{{ card }}
2 changes: 1 addition & 1 deletion style/mobile/components/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

@import "./action-sheet/_index.less";

@import "./collapse/_index.less";
// @import "./collapse/_index.less";

@import "./steps/_index.less";

Expand Down
Loading