Skip to content

Commit

Permalink
docs(radio): update radio api_v2. (#1884)
Browse files Browse the repository at this point in the history
  • Loading branch information
byq1213 authored Sep 12, 2024
1 parent dbb7571 commit 9b2a785
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 6 deletions.
35 changes: 35 additions & 0 deletions docs/mobile/api/radio.en-US.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: Radio
description: Used to perform a single selection in a preset set of options and render the result of the selection.
spline: base
isComponent: true
toc: false
---

### Portrait Radio

{{ base }}

### Horizontal Radio

{{ horizontal }}

### Radio Status

{{ status }}

### Check Style

{{ icon }}

### Check The Display Location

{{ placement }}

### Non-Field Radio

{{ card }}

### Special Style

{{ custom }}
28 changes: 23 additions & 5 deletions docs/mobile/api/radio.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,30 @@ isComponent: true
toc: false
---

### 基础单选框

使用场景:基本文本框
### 纵向单选框

{{ base }}

### 单选项组
### 横向单选框

{{ horizontal }}

### 单选框状态

{{ status }}

### 勾选样式

{{ icon }}

### 勾选显示位置

{{ placement }}

### 非通栏单选框

{{ card }}

### 特殊样式

{{ group }}
{{ custom }}
2 changes: 1 addition & 1 deletion style/mobile/components/radio/v2/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@
}

&__icon-wrap {
display: block;
display: block !important;
}
}

0 comments on commit 9b2a785

Please sign in to comment.