]>
cat aescling's git repositories - mastodon.git/blob - app/javascript/mastodon/components/load_pending.js
1 import React
from 'react';
2 import { FormattedMessage
} from 'react-intl';
3 import PropTypes
from 'prop-types';
5 export default class LoadPending
extends React
.PureComponent
{
8 onClick: PropTypes
.func
,
9 count: PropTypes
.number
,
13 const { count
} = this.props
;
16 <button className
='load-more load-gap' onClick
={this.props
.onClick
}>
17 <FormattedMessage id
='load_pending' defaultMessage
='{count, plural, one {# new item} other {# new items}}' values
={{ count
}} />
This page took 0.078961 seconds and 4 git commands to generate.