1.5.2 • Published 7 years ago

tc-packaging-test v1.5.2

Weekly downloads
2
License
ISC
Repository
-
Last release
7 years ago

##Blue Button Component

##Installation

npm i tc-packaging-test --save

##Usage

First, require it from your app's JavaScript files with:

import BlueButton from 'tc-packaging-test';

BlueButton component creates a blue button with few props. (See below)

##Example

import React, { Component } from 'react';
import {
  View
} from 'react-native';
import BlueButton from 'tc-packaging-test';

export default class LoginScreen extends Component {
  render() {
    return (
      <View>
          <BlueButton
          	buttonText={this.state.buttonText
          	clickEvent={this.handlePressEvent}/>
      </View>
    );
  }
}

##Configuration

PropertyTypeDefault Description
ButtonTextStringSpecify text to display on button
clickEventfunctionFires when BlueButton is tapped.
1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago