-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
<View style={{ flexDirection: 'row' }}>
<View style={{ flex: 0.5 }}>
<SegmentedControl
containerMargin={16}
segments={['Label 1', 'Label 2']}
onChange={(index) => setTabIndex(index)}
currentIndex={tabIndex}
badgeValues={[2, null, 1]}
/>
</View>
<View style={{ flex: 0.5, backgroundColor: 'red' }} />
</View>The calculation of the width seems to based on the device, not the the layout.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
