MCPcopy Create free account
hub / github.com/emwalker/digraph / ItemView

Function ItemView

client/src/components/ui/Item/index.tsx:91–106  ·  view source on GitHub ↗
({ url, description, topics, title, showLink }: WideItemProps)

Source from the content-addressed store, hash-verified

89}
90
91function ItemView({ url, description, topics, title, showLink }: WideItemProps) {
92 return (
93 <div className="clearfix d-flex flex-items-center">
94 <div className="col-12">
95 <div>
96 <TitleLink url={url} title={title} />
97 <div>{description}</div>
98 </div>
99 <Url url={url} showLink={showLink} />
100 <div>
101 {topics.map((topic) => <OuterTopicBadge key={topic.id} topic={topic} />)}
102 </div>
103 </div>
104 </div>
105 )
106}
107
108type EditableItemProps = {
109 children: ReactNode,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected