2022-01-08 21:44:59 +00:00
|
|
|
import React from 'react'
|
2022-02-05 10:55:34 +00:00
|
|
|
import { faCommentAlt } from '@fortawesome/free-solid-svg-icons'
|
|
|
|
import Badge from './Badge'
|
2022-01-08 21:44:59 +00:00
|
|
|
|
2022-11-03 18:38:01 +00:00
|
|
|
const StatusesCountBadge: React.FC<{ statusesCount: number | null }> = ({ statusesCount }) => {
|
2022-01-08 21:44:59 +00:00
|
|
|
return (
|
2022-02-05 10:55:34 +00:00
|
|
|
<Badge faIcon={faCommentAlt}
|
|
|
|
label={'Status count'}
|
|
|
|
value={statusesCount}
|
|
|
|
className={'last-status-at'}
|
|
|
|
/>
|
2022-01-08 21:44:59 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default StatusesCountBadge
|