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: 补充 ActionSheet md文档 #1905

Merged
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
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 }}
Loading