MCPcopy Create free account
hub / github.com/dailydotdev/apps / renderText

Function renderText

packages/shared/src/components/referral/InviteLinkInput.tsx:45–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43 };
44
45 const renderText = () => {
46 const copy = text?.initial ?? 'Copy link';
47 const copiedText = text?.copied ?? 'Copied';
48
49 return copied ? copiedText : copy;
50 };
51
52 return (
53 <TextField

Callers 1

InviteLinkInputFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected