mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 01:28:16 +00:00
* wip * fix imports * use stylesheet for margin stylesheet now correct * also remove old headerLeft * improve header buttons color * remove ios button margin
19 lines
348 B
JavaScript
19 lines
348 B
JavaScript
import { Button as RNButton, StyleSheet, View, Platform } from 'react-native';
|
|
import React from 'react';
|
|
|
|
export const Button = props => (
|
|
<View style={styles.margin}>
|
|
<RNButton {...props} />
|
|
</View>
|
|
);
|
|
|
|
const styles = StyleSheet.create({
|
|
margin: {
|
|
...Platform.select({
|
|
android: {
|
|
margin: 10,
|
|
},
|
|
}),
|
|
},
|
|
});
|