Skip to content

Commit 6290fb6

Browse files
authored
Allow adjusting checkbox row padding and min height (#897)
1 parent 7b5dee1 commit 6290fb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/components/Checkbox/CheckboxRow.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const CheckboxRow: React.FC<CheckboxRowProps & IconSlot> = ({
102102
return (
103103
<Pressable
104104
onPress={handlePress}
105-
style={[viewStyles, styles.mainParent, { flexDirection: direction }]}
105+
style={[styles.mainParent, viewStyles, , { flexDirection: direction }]}
106106
disabled={disabled}
107107
{...rest}
108108
>
@@ -138,9 +138,9 @@ const styles = StyleSheet.create({
138138
mainParent: {
139139
alignItems: "center",
140140
justifyContent: "space-around",
141-
paddingStart: 20,
141+
paddingLeft: 20,
142+
paddingRight: 20,
142143
minHeight: 50,
143-
paddingEnd: 20,
144144
display: "flex",
145145
...Platform.select({
146146
web: {

0 commit comments

Comments
 (0)