Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/dagger-browser
/ getDisplayName
Function
getDisplayName
browser/src/components/SubcomponentLink.tsx:12–15 ·
view source on GitHub ↗
(key: string)
Source
from the content-addressed store, hash-verified
10
11
12
function getDisplayName(key: string): string {
13
let index = key.lastIndexOf(
"."
);
14
return key.substring(index + 1)
15
}
16
17
const SubcomponentLink: React.FC<Props> = ({
18
subcomponentName,
Callers
1
SubcomponentLink
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected