Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 550d422

Browse files
lemmingtimomeh
authored andcommitted
Update index.d.ts (#123)
1 parent d3aaf85 commit 550d422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare module 'react-native-material-bottom-navigation' {
1212

1313
export interface BottomNavigationProps {
1414
tabs: { [index: number]: TabConfig }
15-
renderTab: ({ isActive: boolean }) => JSX.Element
15+
renderTab: ({ tab: TabConfig, isActive: boolean }) => JSX.Element
1616
activeTab?: number | string
1717
onTabPress?: (newTab: TabConfig, oldTab: TabConfig) => void
1818
useLayoutAnimation?: boolean

0 commit comments

Comments
 (0)