diff --git a/client/app/components/buttons/request_button.jsx b/client/app/components/buttons/request_button.jsx new file mode 100644 index 0000000..5085f8d --- /dev/null +++ b/client/app/components/buttons/request_button.jsx @@ -0,0 +1,22 @@ +import React from 'react'; + +class RequestButton extends React.Component { + constructor() { + super(); + + this.state = {textColor: 'white'}; + } + + render() { + return ( + this.setState({textColor: 'red'})} + onExit={() => this.setState({textColor: 'white'})}> + This text will turn red when you look at it. + + ); + } +} + +export default RequestButton; \ No newline at end of file