Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebDevSimplified/calendly-clone
/ getChildren
Function
getChildren
src/components/CopyEventButton.tsx:54–63 ·
view source on GitHub ↗
(copyState: CopyState)
Source
from the content-addressed store, hash-verified
52
}
53
54
function getChildren(copyState: CopyState) {
55
switch (copyState) {
56
case
"idle"
:
57
return
"Copy Link"
58
case
"copied"
:
59
return
"Copied!"
60
case
"error"
:
61
return
"Error"
62
}
63
}
Callers
1
CopyEventButton
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected