import React, { Component } from 'react'; import { Redirect } from 'react-router'; import { BrowserRouter as Router, Route, Link, Switch } from "react-router-dom"; import PropTypes from 'prop-types'; import classNames from 'classnames' import { getImageUrl, toPath, LinkAfterLogin } from 'educoder' import match_adImg from '../../images/ad/match_ad.jpg' const $ = window.$ class RightMyPublish extends Component { constructor(props) { super(props) this.state = { } } handleKeyPress = (event) => { if(event.type !== 'keypress' || event.key == 'Enter'){ this.props.setSearchValue( this.props.searchValue, true); // $(window).trigger('setSearchValue', $('#shixun_search_input').val()) } } handleInput = (event) => { this.props.setSearchValue(event.target.value); } render() { const { match, history, currentPage, my_memos_count, setSearchValue, searchValue } = this.props return (
{/*
×
*/}
发布话题 {/*

我的发布
{my_memos_count}

*/}
); } } export default RightMyPublish;