Skip to content

Commit b8ae4b0

Browse files
committed
fix: correct linting
1 parent 71ad62a commit b8ae4b0

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

example/src/Examples/ProgressBarExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ const styles = StyleSheet.create({
119119
},
120120
});
121121

122-
export default ProgressBarExample;
122+
export default ProgressBarExample;

src/components/BottomNavigation/BottomNavigation.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -618,14 +618,16 @@ const BottomNavigation = ({
618618
? overlay(elevation, colors?.surface)
619619
: colors?.primary;
620620

621-
const v2BackgroundColorInterpolation = shifting ? indexAnim.interpolate({
622-
inputRange: routes.map((_, i) => i),
623-
// FIXME: does outputRange support ColorValue or just strings?
624-
// @ts-expect-error
625-
outputRange: routes.map(
626-
(route) => getColor({ route }) || approxBackgroundColor
627-
),
628-
}) : approxBackgroundColor;
621+
const v2BackgroundColorInterpolation = shifting
622+
? indexAnim.interpolate({
623+
inputRange: routes.map((_, i) => i),
624+
// FIXME: does outputRange support ColorValue or just strings?
625+
// @ts-expect-error
626+
outputRange: routes.map(
627+
(route) => getColor({ route }) || approxBackgroundColor
628+
),
629+
})
630+
: approxBackgroundColor;
629631

630632
const backgroundColor = isV3
631633
? customBackground || theme.colors.elevation.level2

src/components/__tests__/BottomNavigation.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,4 +369,4 @@ it('renders a single tab', () => {
369369
);
370370

371371
expect(queryByTestId('bottom-navigation')).not.toBeNull();
372-
})
372+
});

src/core/theming.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,4 +213,4 @@ export const createDynamicThemeColors = ({ sourceColor }: Config): Schemes => {
213213
);
214214

215215
return { lightScheme: light, darkScheme: dark };
216-
};
216+
};

0 commit comments

Comments
 (0)