Skip to content

Commit 2133b89

Browse files
committed
fix: pre-commit hook lint issues
1 parent c7656d5 commit 2133b89

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

example/src/Examples/IconButtonExample.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const ButtonExample = () => {
137137
mode="contained"
138138
style={styles.slightlyRounded}
139139
size={24}
140-
contentStyle={{ padding: 8 }}
140+
contentStyle={styles.contentPadding}
141141
iconColor={MD3Colors.tertiary50}
142142
onPress={() => {}}
143143
/>
@@ -190,6 +190,9 @@ const styles = StyleSheet.create({
190190
width: 48,
191191
height: 48,
192192
},
193+
contentPadding: {
194+
padding: 8,
195+
},
193196
differentBorderRadius: {
194197
borderTopLeftRadius: 2,
195198
borderTopRightRadius: 4,

example/src/index.native.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { PaperProvider, MD3DarkTheme, MD3LightTheme } from 'react-native-paper';
1313
import { SafeAreaInsetsContext } from 'react-native-safe-area-context';
1414

1515
import DrawerItems from './DrawerItems';
16+
import { PreferencesContext } from './PreferencesContext';
1617
import App from './RootNavigator';
1718
import { deviceColorsSupported } from '../utils';
18-
import { PreferencesContext } from './PreferencesContext';
1919
import {
2020
CombinedDefaultTheme,
2121
CombinedDarkTheme,

src/components/BottomNavigation/BottomNavigation.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,13 +423,11 @@ const BottomNavigation = <Route extends BaseRoute>({
423423
});
424424
},
425425
[
426-
shifting,
427426
navigationState.routes,
428427
offsetsAnims,
429428
scale,
430429
tabsPositionAnims,
431430
sceneAnimationEasing,
432-
theme,
433431
]
434432
);
435433

0 commit comments

Comments
 (0)