diff --git a/SegmentedControlTab.js b/SegmentedControlTab.js index 45bfdb9..569f5b3 100644 --- a/SegmentedControlTab.js +++ b/SegmentedControlTab.js @@ -73,7 +73,7 @@ const SegmentedControlTab = ({ onTabPress, }) => { - const firstTabStyle = [{ borderRightWidth: 0, borderTopLeftRadius: borderRadius, borderBottomLeftRadius: borderRadius }] + const firstTabStyle = [{ borderRightWidth: values.length == 2 ? 1 : 0, borderTopLeftRadius: borderRadius, borderBottomLeftRadius: borderRadius }] const lastTabStyle = [{ borderLeftWidth: 0, borderTopRightRadius: borderRadius, borderBottomRightRadius: borderRadius }] return (