docs(components): [Radio]Fix typo (#11373)

* docs(radio): Fix typo
This commit is contained in:
Jason Ren 2023-01-31 18:16:06 +08:00 committed by GitHub
parent e8bbdf974b
commit 78f235d9c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View File

@ -62,10 +62,10 @@ radio/with-borders
| Name | Description | Type | Default |
| --------------------- | ------------------------------------ | ---------------------------------------- | ------- |
| model-value / v-model | binding value | ^[string] / ^[number] / ^[boolean] | — |
| label | the value of Raido | ^[string] / ^[number] / ^[boolean] | — |
| disabled | whether Raido is disabled | ^[boolean] | false |
| border | whether to add a border around Raido | ^[boolean] | false |
| size | size of the Raido | ^[enum]`'large' \| 'default' \| 'small'` | — |
| label | the value of Radio | ^[string] / ^[number] / ^[boolean] | — |
| disabled | whether Radio is disabled | ^[boolean] | false |
| border | whether to add a border around Radio | ^[boolean] | false |
| size | size of the Radio | ^[enum]`'large' \| 'default' \| 'small'` | — |
| name | native `name` attribute | ^[string] | — |
### Radio Events
@ -92,7 +92,7 @@ radio/with-borders
| text-color | font color when button is active | ^[string] | #ffffff |
| fill | border and background color when button is active | ^[string] | #409EFF |
| validate-event | whether to trigger form validation | ^[boolean] | true |
| label<A11yTag /> | same as `aria-label` in RaidoGroup | ^[string] | — |
| label<A11yTag /> | same as `aria-label` in RadioGroup | ^[string] | — |
| name | native `name` attribute | ^[string] | — |
| id | native `id` attribute | ^[string] | — |
@ -114,8 +114,8 @@ radio/with-borders
| Name | Description | Type | Default |
| -------- | ------------------------- | ---------------------------------- | ------- |
| label | the value of Raido | ^[string] / ^[number] / ^[boolean] | — |
| disabled | whether Raido is disabled | ^[boolean] | false |
| label | the value of Radio | ^[string] / ^[number] / ^[boolean] | — |
| disabled | whether Radio is disabled | ^[boolean] | false |
| name | native 'name' attribute | ^[string] | — |
### RadioButton Slots

View File

@ -17,7 +17,7 @@ export const radioGroupProps = buildProps({
*/
size: useSizeProp,
/**
* @description whether the nesting raidos are disabled
* @description whether the nesting radios are disabled
*/
disabled: Boolean,
/**
@ -35,7 +35,7 @@ export const radioGroupProps = buildProps({
default: '',
},
/**
* @description same as `aria-label` in RaidoGroup
* @description same as `aria-label` in RadioGroup
*/
label: {
type: String,

View File

@ -6,15 +6,15 @@ import type Radio from './radio.vue'
export const radioPropsBase = buildProps({
/**
* @description size of the Raido
* @description size of the Radio
*/
size: useSizeProp,
/**
* @description whether Raido is disabled
* @description whether Radio is disabled
*/
disabled: Boolean,
/**
* @description the value of Raido
* @description the value of Radio
*/
label: {
type: [String, Number, Boolean],
@ -39,7 +39,7 @@ export const radioProps = buildProps({
default: '',
},
/**
* @description whether to add a border around Raido
* @description whether to add a border around Radio
*/
border: Boolean,
} as const)