MCPcopy Create free account
hub / github.com/WebDevSimplified/calendly-clone / getCopyIcon

Function getCopyIcon

src/components/CopyEventButton.tsx:43–52  ·  view source on GitHub ↗
(copyState: CopyState)

Source from the content-addressed store, hash-verified

41}
42
43function getCopyIcon(copyState: CopyState) {
44 switch (copyState) {
45 case "idle":
46 return Copy
47 case "copied":
48 return CopyCheck
49 case "error":
50 return CopyX
51 }
52}
53
54function getChildren(copyState: CopyState) {
55 switch (copyState) {

Callers 1

CopyEventButtonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected