|
@@ -5,9 +5,9 @@ const Button = (props) => {
|
|
|
const { buttonStyle, textStyle } = styles;
|
|
const { buttonStyle, textStyle } = styles;
|
|
|
const { children, onPress } = props;
|
|
const { children, onPress } = props;
|
|
|
return (
|
|
return (
|
|
|
- <TouchableOpacity onPress={onPress} style={buttonStyle}>
|
|
|
|
|
|
|
+ <TouchableOpacity onPress={onPress} style={[buttonStyle, props.style]}>
|
|
|
<Text style={textStyle}>
|
|
<Text style={textStyle}>
|
|
|
- { children}
|
|
|
|
|
|
|
+ {children}
|
|
|
</Text>
|
|
</Text>
|
|
|
</TouchableOpacity>
|
|
</TouchableOpacity>
|
|
|
);
|
|
);
|