fix: normalize component boundary spacing
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
component RadioGroup {
|
||||
props {
|
||||
class = ""
|
||||
label = "Choose one"
|
||||
name = "choice"
|
||||
}
|
||||
view {
|
||||
<fieldset class="space-y-3"><legend class="text-sm font-semibold text-slate-900 dark:text-white">{label}</legend><div class="space-y-2"><slot /></div></fieldset>
|
||||
<fieldset class="space-y-3 {class}"><legend class="text-sm font-semibold text-slate-900 dark:text-white">{label}</legend><div class="space-y-2"><slot /></div></fieldset>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user