mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 17:45:34 +00:00
* wip * fix imports * use stylesheet for margin stylesheet now correct * also remove old headerLeft * improve header buttons color * remove ios button margin
17 lines
403 B
JavaScript
17 lines
403 B
JavaScript
import DefaultHeaderButtons from 'react-navigation-header-buttons';
|
|
import * as React from 'react';
|
|
import { Platform } from 'react-native';
|
|
|
|
export class HeaderButtons extends React.PureComponent {
|
|
static Item = DefaultHeaderButtons.Item;
|
|
|
|
render() {
|
|
return (
|
|
<DefaultHeaderButtons
|
|
color={Platform.OS === 'ios' ? '#037aff' : 'black'}
|
|
{...this.props}
|
|
/>
|
|
);
|
|
}
|
|
}
|