mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 01:28:16 +00:00
Fix style prop for header
This commit is contained in:
parent
296e83abed
commit
4f1bd4c888
@ -45,7 +45,6 @@ export type HeaderProps = NavigationSceneRendererProps & {
|
|||||||
renderTitleComponent: SubViewRenderer,
|
renderTitleComponent: SubViewRenderer,
|
||||||
tintColor: ?string,
|
tintColor: ?string,
|
||||||
router: NavigationRouter,
|
router: NavigationRouter,
|
||||||
style?: any,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
type SubViewName = 'left' | 'title' | 'right';
|
type SubViewName = 'left' | 'title' | 'right';
|
||||||
@ -230,7 +229,6 @@ class Header extends React.Component<void, HeaderProps, void> {
|
|||||||
style={[
|
style={[
|
||||||
styles.item,
|
styles.item,
|
||||||
styles[name],
|
styles[name],
|
||||||
props.style,
|
|
||||||
styleInterpolator(props),
|
styleInterpolator(props),
|
||||||
]}
|
]}
|
||||||
>
|
>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user