Skip to content

Instantly share code, notes, and snippets.

@mikekavouras
Created April 19, 2017 14:52
Show Gist options
  • Save mikekavouras/34b6dd079bfd0bd938e2dec4ae39daf1 to your computer and use it in GitHub Desktop.
Save mikekavouras/34b6dd079bfd0bd938e2dec4ae39daf1 to your computer and use it in GitHub Desktop.
import React from 'react';
export default class PrimaryButton extends ReactComonent {
render() {
return <button style={[styles.button, styles.primary})>{this.props.title}</button>
}
}
var styles = {
button: {
padding: 10,
borderRadius: 4,
},
primary: {
background: '#0074D9',
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment