1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| import { RiInstallLine } from '@remixicon/react'
| import { formatNumber } from '@/utils/format'
|
| type Props = {
| downloadCount: number
| }
|
| const DownloadCount = ({
| downloadCount,
| }: Props) => {
| return (
| <div className="flex items-center space-x-1 text-text-tertiary">
| <RiInstallLine className="h-3 w-3 shrink-0" />
| <div className="system-xs-regular">{formatNumber(downloadCount)}</div>
| </div>
| )
| }
|
| export default DownloadCount
|
|