diff --git a/components/TabBar.tsx b/components/TabBar.tsx index 0b2e1d2..37ee81c 100644 --- a/components/TabBar.tsx +++ b/components/TabBar.tsx @@ -10,7 +10,7 @@ export interface TabBarProps extends ViewProps { onSelectItem: (_: { index: number }) => void; } export function TabBar({ onSelectItem, ...props }: TabBarProps) { - const handleSelectItem = React.useCallback< + const handleSelectItem = React.useCallback< BubblingEventHandler<{ index: number }> >( (event) => {