123456789101112131415161718 |
- 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,
- },
- }),
- },
- });
|