We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54cc9ea commit c81205eCopy full SHA for c81205e
packages/components/src/components/RadioGroup/index.tsx
@@ -67,11 +67,9 @@ export function RadioGroup({
67
return (
68
<Flex
69
className={classNames?.container}
70
- style={{
71
- flexDirection: variant === 'button' ? 'row' : direction,
72
- gap: variant === 'button' ? 0 : direction === 'row' ? '30px' : '16px',
73
- ...styles?.container,
74
- }}
+ flexDir={variant === 'button' ? 'row' : direction}
+ gap={variant === 'button' ? 0 : direction === 'row' ? '30px' : '16px'}
+ style={styles?.container}
75
>
76
{options.map(({ value: optionValue, label }, idx) => {
77
const stringValue = String(optionValue)
0 commit comments