import React from 'react'; import { Sparklines, SparklinesCurve } from 'react-sparklines'; import { FormattedMessage } from 'react-intl'; import ImmutablePropTypes from 'react-immutable-proptypes'; import Permalink from './permalink'; import { shortNumberFormat } from '../utils/numbers'; const Hashtag = ({ hashtag }) => (
#{hashtag.get('name')} {shortNumberFormat(hashtag.getIn(['history', 0, 'accounts']))} }} />
{shortNumberFormat(hashtag.getIn(['history', 0, 'uses']))}
day.get('uses')).toArray()}>
); Hashtag.propTypes = { hashtag: ImmutablePropTypes.map.isRequired, }; export default Hashtag;