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(checkbox): react-mobile checkbox示例文档对齐vue #1913

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
47 changes: 47 additions & 0 deletions docs/mobile/api/checkbox.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: Checkbox
description: Performs multiple selections in a preset set of options and renders the selection results.
spline: base
isComponent: true
toc: false
---

### Component Type

Vertical checkbox

{{ base }}

Horizontal checkbox

{{ horizontal }}

checkbox with select all

{{ all }}

### Component Status

checkbox status

{{ status }}

### Component Style

Check style

{{ type }}

Check show location

{{ right }}

Non-full-width multiple selection style

{{ card }}

### Component Specification

checkbox size specifications

{{ special }}
40 changes: 26 additions & 14 deletions docs/mobile/api/checkbox.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,47 @@
---
title: Checkbox 复选框
title: Checkbox 多选框
description: 用于预设的一组选项中执行多项选择,并呈现选择结果。
spline: base
isComponent: true
toc: false
---

### 基础多选框
### 组件类型

纵向多选框

{{ base }}

### 右侧多选框
横向多选框

{{ right }}
{{ horizontal }}

带全选多选框

{{ all }}

### 带全选多选框
### 组件状态

{{ group }}
多选框状态

### 限制最多可选数量
{{ status }}

{{ max }}
### 组件样式

### 状态
勾选样式

{{ type }}

勾选显示位置

{{ right }}

{{ disable }}
非通栏多选样式

### 特殊类型
{{ card }}

{{ icon }}
### 组件规格

### 规格
多选框尺寸规格

{{ size }}
{{ special }}
4 changes: 2 additions & 2 deletions style/mobile/components/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

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

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

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

Expand Down Expand Up @@ -66,7 +66,7 @@

@import "./radio-group/_index.less";

@import "./checkbox-group/_index.less";
//@import "./checkbox-group/_index.less";

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

Expand Down
Loading