diff --git a/docs/examples/radio.md b/docs/examples/radio.md index 75a86f5f0..47fdbd35f 100644 --- a/docs/examples/radio.md +++ b/docs/examples/radio.md @@ -1 +1,25 @@ + + ## Radio组件 + +### 基础用法 + +:::demo +```html + +``` +::: + +### API + +| 参数 | 说明 | 类型 | 默认值 | 可选值 | +|-----------|-----------|-----------|-------------|-------------| +| disabled | 是否禁用单选框 | Boolean | false | | diff --git a/packages/radio/src/radio-group.vue b/packages/radio/src/radio-group.vue new file mode 100644 index 000000000..1e8417089 --- /dev/null +++ b/packages/radio/src/radio-group.vue @@ -0,0 +1,11 @@ + + + diff --git a/packages/radio/src/radio.vue b/packages/radio/src/radio.vue index 789b41ee4..642e1e5a6 100644 --- a/packages/radio/src/radio.vue +++ b/packages/radio/src/radio.vue @@ -1,11 +1,28 @@