Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react';
- import { View, Text } from 'react-native';
- import MyAwesomeButton from './common/MyAwesomeButton';
- export default class ClickSome extends Component {
- render() {
- return (
- <View>
- <MyAwesomeButton
- buttonText="Click me!"
- backgroundColor="#ccc"
- fontColor="#000"
- onPress={() => console.log('HEY THERE!')}
- />
- </View>
- );
- }
- }
Add Comment
Please, Sign In to add comment