Skip to content

Commit d68f8d8

Browse files
committed
fix(checkbox): 🚑 breaking change in checkbox with context having orientation
1 parent 96c6c72 commit d68f8d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/checkbox/Checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ const RNCheckbox: React.FC<Partial<CheckboxProps>> = forwardRef<
353353
cx(
354354
checkboxTheme?.label?.common,
355355
index !== 0
356-
? checkboxTheme?.group[checkboxGroupState.orientation]?.spacing
356+
? checkboxTheme?.group[checkboxGroupState?.orientation]?.spacing
357357
: "",
358358
description ? checkboxTheme?.label?.withDescription : "",
359359
checkboxTheme.size[size]?.label?.wrapper,

0 commit comments

Comments
 (0)