Skip to content

Commit 42174fa

Browse files
committed
feat(Radio): tabs * 2
1 parent ad12b0a commit 42174fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/fields/RadioGroup/Radio.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ function Radio(props: CubeRadioProps, ref) {
206206
effectiveSize = 'medium';
207207
} else if (effectiveSize === 'xlarge') {
208208
effectiveSize = 'large';
209+
} else if (!size && !contextSize) {
210+
effectiveSize = 'xsmall';
209211
}
210212
// 'xsmall' stays 'xsmall', 'inline' stays 'inline'
211213
}

0 commit comments

Comments
 (0)