import React from 'react'

class SaveTripWidget extends React.Component {
  constructor(props) {
    super(props)
  }

  handleClick(){
    console.log('click')
    //should push to the user's array of favorite trips
  }

  //require this file in TripListItemWidget

  render() {
    return (
      <i className="fa fa-heart" ref="searchText"></i>
    )
  }
}


SaveTripWidget.displayName = 'SaveTripWidget'

export default SaveTripWidget
@@ -158,64 +158,8 @@
 k')%0A
-    //should push to the user's array of favorite trips%0A
   %7D%0A
@@ -279,16 +279,54 @@
 rchText%22
+ onClick=%7BhandleSave.bind(null, true)%7D
 %3E%3C/i%3E%0A  

add click to SaveTripButton