Skip to content

Commit

Permalink
Update index.d.ts (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemming authored and timomeh committed Apr 16, 2019
1 parent d3aaf85 commit 550d422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare module 'react-native-material-bottom-navigation' {

export interface BottomNavigationProps {
tabs: { [index: number]: TabConfig }
renderTab: ({ isActive: boolean }) => JSX.Element
renderTab: ({ tab: TabConfig, isActive: boolean }) => JSX.Element
activeTab?: number | string
onTabPress?: (newTab: TabConfig, oldTab: TabConfig) => void
useLayoutAnimation?: boolean
Expand Down

0 comments on commit 550d422

Please sign in to comment.