Files
mastodon/app/javascript/flavours/glitch/features/annual_report/followers.tsx
diondiondion 5a66331003 [Glitch] Update Wrapstodon design
Port 9d81561bb2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-12-09 18:27:14 +01:00

26 lines
688 B
TypeScript

import { FormattedMessage, FormattedNumber } from 'react-intl';
import classNames from 'classnames';
import styles from './index.module.scss';
export const Followers: React.FC<{
count: number;
}> = ({ count }) => {
return (
<div className={classNames(styles.box, styles.followers, styles.content)}>
<div className={styles.statLarge}>
<FormattedNumber value={count} />
</div>
<div className={styles.title}>
<FormattedMessage
id='annual_report.summary.followers.new_followers'
defaultMessage='{count, plural, one {new follower} other {new followers}}'
values={{ count }}
/>
</div>
</div>
);
};