react-native-copilot
Version:
Make an interactive step by step tour guide for you react-native app
20 lines (15 loc) • 442 B
JavaScript
// @flow
import React from 'react';
import { View, Text } from 'react-native';
import styles from './style';
type Props = {
wrapperStyle: Object | number | Array,
style: Object | number | Array,
rest: Object | number | Array,
};
const Button = ({ wrapperStyle, style, ...rest }: Props) => (
<View style={[styles.button, wrapperStyle]}>
<Text style={[styles.buttonText, style]} {...rest} />
</View>
);
export default Button;