diff options
Diffstat (limited to 'src/view/com/pager/TabBar.tsx')
-rw-r--r-- | src/view/com/pager/TabBar.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/com/pager/TabBar.tsx b/src/view/com/pager/TabBar.tsx index 662d73668..0e08b22d8 100644 --- a/src/view/com/pager/TabBar.tsx +++ b/src/view/com/pager/TabBar.tsx @@ -14,7 +14,6 @@ export interface TabBarProps { indicatorColor?: string onSelect?: (index: number) => void onPressSelected?: (index: number) => void - onLayout?: (evt: LayoutChangeEvent) => void } export function TabBar({ @@ -24,7 +23,6 @@ export function TabBar({ indicatorColor, onSelect, onPressSelected, - onLayout, }: TabBarProps) { const pal = usePalette('default') const scrollElRef = useRef<ScrollView>(null) @@ -68,7 +66,7 @@ export function TabBar({ const styles = isDesktop || isTablet ? desktopStyles : mobileStyles return ( - <View testID={testID} style={[pal.view, styles.outer]} onLayout={onLayout}> + <View testID={testID} style={[pal.view, styles.outer]}> <DraggableScrollView horizontal={true} showsHorizontalScrollIndicator={false} |