mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Update react-native.d.ts (#12050)
* Update react-native.d.ts Added additional props to NavigationHeaderProps. * Update react-native.d.ts Fixed indentation. * Added more NavigationHeaderProps. Also updated type for NavigationHeaderStatic.Title.
This commit is contained in:
committed by
Masahiro Wakame
parent
d290d688b3
commit
b424d28ab1
Vendored
+6
-1
@@ -7502,11 +7502,16 @@ declare namespace __React {
|
||||
|
||||
export interface NavigationHeaderProps {
|
||||
renderTitleComponent?(props: Object): JSX.Element
|
||||
renderLeftComponent?(props: Object): JSX.Element
|
||||
renderRightComponent?(props: Object): JSX.Element
|
||||
onNavigateBack(): void
|
||||
style?: ViewStyle
|
||||
viewProps?: any
|
||||
statusBarHeight?: number | NavigationAnimatedValue
|
||||
}
|
||||
|
||||
export interface NavigationHeaderStatic extends React.ComponentClass<NavigationHeaderProps> {
|
||||
Title: JSX.Element
|
||||
Title: () => JSX.ElementClass
|
||||
HEIGHT: number
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user