Skip to content

Commit ea0c118

Browse files
committed
update styles since button changes
1 parent 23c5adf commit ea0c118

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/components/forms/SegmentedControl.tsx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -155,14 +155,7 @@ export function Item({
155155
onPress={onPress}
156156
role={ctx.type === 'tabs' ? 'tab' : 'radio'}
157157
accessibilityState={{selected: active}}
158-
style={[
159-
a.flex_1,
160-
a.bg_transparent,
161-
{borderRadius: 10},
162-
a.curve_continuous,
163-
a.px_sm,
164-
style,
165-
]}>
158+
style={[a.flex_1, a.bg_transparent, a.px_sm, style]}>
166159
{({pressed, hovered, focused}) => (
167160
<InternalItemContext.Provider
168161
value={{active, pressed, hovered, focused}}>
@@ -187,7 +180,7 @@ export function ItemText({style, ...props}: ButtonTextProps) {
187180
style={[
188181
a.text_center,
189182
a.text_md,
190-
a.py_md,
183+
{paddingVertical: 10},
191184
a.px_xs,
192185
ctx.active
193186
? t.atoms.text

0 commit comments

Comments
 (0)