Skip to content

Commit

Permalink
fix(ui): top-navigation style apply
Browse files Browse the repository at this point in the history
  • Loading branch information
artyorsh authored May 23, 2019
1 parent 2a9e315 commit 9d94b38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/framework/ui/topNavigation/topNavigation.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
TextStyle,
View,
ViewProps,
ViewStyle,
} from 'react-native';
import {
styled,
Expand Down Expand Up @@ -234,7 +233,7 @@ export class TopNavigationComponent extends React.Component<TopNavigationProps>
};

public render(): React.ReactNode {
const { themedStyle, ...restProps } = this.props;
const { style, themedStyle, ...restProps } = this.props;

const {
container,
Expand All @@ -253,7 +252,7 @@ export class TopNavigationComponent extends React.Component<TopNavigationProps>

return (
<View
style={container}
style={[container, style]}
{...restProps}>
<View style={leftControlContainer}>
{leftControlElement}
Expand Down

0 comments on commit 9d94b38

Please sign in to comment.