From 41a19afc18f75dea3feabeaadef9a9bcbadc38fa Mon Sep 17 00:00:00 2001 From: wzc520pyfm <69044080+wzc520pyfm@users.noreply.github.com> Date: Thu, 30 Mar 2023 20:11:11 +0800 Subject: [PATCH] fix(docs): fix error with props on the radio (#154) --- docs/components/radio.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/radio.md b/docs/components/radio.md index 91af5bb5..e1a85b35 100644 --- a/docs/components/radio.md +++ b/docs/components/radio.md @@ -73,7 +73,7 @@ If you do not want label's color to change when selected, you can use `not-text- | model-value / v-model | `string \| number \| boolean` | `undefined` | Binding value. | | label | `string` | `undefined` | The value of Radio. | | disabled | `boolean` | `false` | Whether Radio is disabled. | -| size | `boolean` | `true` | Whether the component has underline. | +| size | `'xs' \| 'sm' \| 'md' \| 'lg'` | `'md'` | The size of Radio. | | fill | `'primary' \| 'secondary' \| 'success' \| 'warning' \| 'error' \| 'info'` | `'primary'` | Change radio fill color. | | text-color | `'primary' \| 'secondary' \| 'success' \| 'warning' \| 'error' \| 'info'` | `undefined` | Change the label color when radio is checked. | | label-color | `'primary' \| 'secondary' \| 'success' \| 'warning' \| 'error' \| 'info'` | `undefined` | Change radio label color. | @@ -97,7 +97,7 @@ If you do not want label's color to change when selected, you can use `not-text- | Name | Type | Default | Description | | --- | --- | --- | --- | | model-value / v-model | `string \| number \| boolean` | `undefined` | Binding value. | -| size | `'xs' \| 'sm' \| 'md' \| 'lg'` | `md` | The size of radio buttons or bordered radios. | +| size | `'xs' \| 'sm' \| 'md' \| 'lg'` | `'md'` | The size of radio buttons or bordered radios. | | disabled | `boolean` | `false` | Whether the nesting radios are disabled. | | name | `string` | `undefined` | Native `name` attribute. | | id | `string` | `undefined` | Native `id` attribute. |