import React from 'react'; // Styles for this element is defined in src/css/custom.css export default class ApiEndpoint extends React.Component { constructor(props){ super(props); this.state = { open: false } this.toggleInfo = this.toggleInfo.bind(this); } toggleInfo(e){ this.setState({open: !this.state.open}) } render() { return (
{this.props.path}