From 5a2644b329dd1bb85a8ca70f849e108dbb93c776 Mon Sep 17 00:00:00 2001 From: Conner Date: Fri, 27 Oct 2023 16:11:58 -0500 Subject: [PATCH] feat(RadioGroup): configurable label size (#881) --- docs/content/3.forms/6.radio-group.md | 4 ++++ src/runtime/components/forms/Radio.vue | 2 +- src/runtime/components/forms/RadioGroup.vue | 13 +++++++++++-- src/runtime/ui.config.ts | 6 +++--- 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/docs/content/3.forms/6.radio-group.md b/docs/content/3.forms/6.radio-group.md index f6183a7e..c7cb9979 100644 --- a/docs/content/3.forms/6.radio-group.md +++ b/docs/content/3.forms/6.radio-group.md @@ -19,6 +19,10 @@ Alternatively, you can use individual Radio components: :component-example{component="radio-example"} +::callout{icon="i-heroicons-light-bulb"} +If using the RadioGroup component, you can customize the Radio options by using the `uiRadio` prop. +:: + ### Legend Use the `legend` prop to add a legend to the RadioGroup. diff --git a/src/runtime/components/forms/Radio.vue b/src/runtime/components/forms/Radio.vue index 71767e2b..fa129296 100644 --- a/src/runtime/components/forms/Radio.vue +++ b/src/runtime/components/forms/Radio.vue @@ -14,7 +14,7 @@ v-bind="attrs" > -
+