{"size": 1008, "ext": "js", "max_stars_repo_path": "src/containerComponents/SideBarComponents/UserSideBar.js", "max_stars_repo_name": "Dane-Dawson/homesteadtogether_app", "max_stars_repo_stars_event_min_datetime": "2020-04-28T18:36:38.000Z", "max_stars_repo_stars_event_max_datetime": "2020-04-28T18:36:38.000Z", "max_issues_repo_path": "src/containerComponents/SideBarComponents/UserSideBar.js", "max_issues_repo_name": "Dane-Dawson/homesteadtogether_app", "max_issues_repo_issues_event_min_datetime": "2021-03-10T16:21:48.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T03:50:48.000Z", "max_forks_repo_path": "src/containerComponents/SideBarComponents/UserSideBar.js", "max_forks_repo_name": "Dane-Dawson/homesteadtogether_app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": null, "avg_line_length": 33.6, "max_line_length": 107, "alphanum_fraction": 0.5198412698}
import React, { Component } from "react";

export default class UserSideBar extends Component {
    constructor(props) {
      super(props);
      this.state= {

      }
    }

    render() {
        return (
            <div>
                <button onClick={() => this.props.setShowDiv("FARM_INFO")}>Farm Info</button>
                <br></br>
                <button onClick={() => this.props.setShowDiv("PRODUCT_LIST")}>View Your Products</button>
                <br></br>
                <button onClick={() => this.props.setShowDiv("CREATE_PRODUCT")}>Add new product</button>
                <br></br>
                <button onClick={() => this.props.setShowDiv("PARTNERSHIP_LIST")}>Partnership List</button>
                <br></br>
                <button onClick={() => this.props.setShowDiv("MESSAGE_LIST")}>Message List</button>
                <br></br>
                <button onClick={() => this.props.setShowDiv("EDIT_PROFILE")}>Edit Profile</button>
            </div>
        )
    }

}
