1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | import React, { Component } from 'react'; import Button from './Button'; export default class TextButton extends Component { render() { const { ...attributes } = this.props; return ( <Button text="Text Button" buttonStyle={{ backgroundColor: 'transparent', width: 130, height: 40 }} textStyle={{ color: 'rgba(78, 116, 289, 1)' }} underlayColor="transparent" activeOpacity={0} {...attributes} /> ); } } |