Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion js/SegmentedControlTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
TouchableOpacity,
View,
useColorScheme,
Platform

Check failure on line 16 in js/SegmentedControlTab.js

View workflow job for this annotation

GitHub Actions / lint (20)

Insert `,`

Check warning on line 16 in js/SegmentedControlTab.js

View workflow job for this annotation

GitHub Actions / lint (20)

Missing trailing comma
} from 'react-native';

import type {FontStyle, ViewStyle} from './types';
Expand Down Expand Up @@ -95,7 +96,9 @@
accessibilityHint={accessibilityHint}
accessibilityRole="button"
accessibilityState={{selected: selected, disabled: !enabled}}
testID={testID}>
testID={testID}
accessible={true}

Check warning on line 100 in js/SegmentedControlTab.js

View workflow job for this annotation

GitHub Actions / lint (20)

Trailing spaces not allowed

Check failure on line 100 in js/SegmentedControlTab.js

View workflow job for this annotation

GitHub Actions / lint (20)

Delete `·`
accessibilityLabel={Platform.select({android: testID, ios: value == 'string' ? value : testID})}>

Check failure on line 101 in js/SegmentedControlTab.js

View workflow job for this annotation

GitHub Actions / lint (20)

Replace `android:·testID,·ios:·value·==·'string'·?·value·:·testID` with `⏎········android:·testID,⏎········ios:·value·==·'string'·?·value·:·testID,⏎······`

Check warning on line 101 in js/SegmentedControlTab.js

View workflow job for this annotation

GitHub Actions / lint (20)

Expected '===' and instead saw '=='
<View style={styles.default}>
{typeof value === 'number' || typeof value === 'object' ? (
<Image source={value} style={styles.segmentImage} />
Expand Down
Loading