Skip to content

Commit

Permalink
docs: 补充 ActionSheet md文档 (#1905)
Browse files Browse the repository at this point in the history
Co-authored-by: eddytlxiong <[email protected]>
  • Loading branch information
TianlunXiong and eddytlxiong authored Aug 27, 2024
1 parent 6a24928 commit a3c3fac
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
41 changes: 41 additions & 0 deletions docs/mobile/api/action-sheet.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
title: ActionSheet
description: A specific type of modal popup triggered by a user action that presents a set of two or more options relevant to the current context.
spline: base
isComponent: true
toc: false
---

### List Type

The list option is a list at the left and right ends;

Options are plain text;

For warning operations (such as irreversible destructive operations), it is recommended to put the change operation at the end and mark it in red.

The list type can have the following different styles according to the content of the selected items

{{ list }}

### Grid Type

The panel runs through from left to right, and uses a grid structure of 3 or 4 columns according to the number of operations to make the menu content as full as possible.

Menu options are presented in the form of icons plus text.

When the number of menu items exceeds 8, it can be turned over.

{{ grid }}

### Grid Multiple

{{ grid-multiple }}

### Component Status

{{ status }}

### Component Style

{{ align }}
8 changes: 8 additions & 0 deletions docs/mobile/api/action-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,11 @@ toc: false
### 宫格型-多页

{{ grid-multiple }}

### 组件状态

{{ status }}

### 组件样式

{{ align }}

0 comments on commit a3c3fac

Please sign in to comment.