File tree Expand file tree Collapse file tree
features/feed/components/feedItems Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { SiGithub } from 'react-icons/si'
22import { VscRepoForked , VscStarFull } from 'react-icons/vsc'
3- import { CardItemWithActions } from 'src/components/Elements'
3+ import { CardItemWithActions , ColoredLanguagesBadge } from 'src/components/Elements'
44import { useUserPreferences } from 'src/stores/preferences'
55import { BaseItemPropsType , FeedItem as FeedItemType } from 'src/types'
66import { FeedItemHeader } from '../FeedItemHeader'
@@ -50,6 +50,9 @@ export const RepoFeedItem = (props: BaseItemPropsType<FeedItemType>) => {
5050 < span className = "rowItem" >
5151 < VscRepoForked className = "rowItemIcon" /> { numberWithCommas ( item ?. forks || 0 ) } forks
5252 </ span >
53+ < span className = "rowItem" >
54+ < ColoredLanguagesBadge languages = { item . tags } />
55+ </ span >
5356 </ div >
5457 ) }
5558 </ >
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ export type FeedItem = BaseEntry & {
5858 stars ?: number
5959 forks ?: number
6060 description ?: string
61+ tags : Array < string >
6162}
6263
6364export type Repository = BaseEntry & {
You can’t perform that action at this time.
0 commit comments