import { Sparklines, SparklinesCurve } from 'react-sparklines'; import { FormattedMessage } from 'react-intl'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import Permalink from '../permalink/permalink'; import { shortNumberFormat } from '../../utils/numbers'; import './trending_item.scss'; export default class TrendingItem extends ImmutablePureComponent { static propTypes = { hashtag: ImmutablePropTypes.map.isRequired, }; render() { const { hashtag } = this.props; return (