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

Function Url

client/src/components/ui/Item/index.tsx:36–46  ·  view source on GitHub ↗
({ url, showLink }: { url: string | null, showLink: boolean })

Source from the content-addressed store, hash-verified

34}
35
36function Url({ url, showLink }: { url: string | null, showLink: boolean }) {
37 if (!url || !showLink) return null
38
39 return (
40 <div
41 className="mt-1 link-url branch-name css-truncate css-truncate-target"
42 >
43 {url}
44 </div>
45 )
46}
47
48function TitleLink({ url, title }: { url: string | null, title: string }) {
49 if (!url) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected