ApiReactFunctions
Function: inviteLink()
function inviteLink(invite, page?): string;Defined in: packages/react/src/use-invite-link.ts:21
A link that opens this page with an invite in it.
inviteLink(await node.spaces.invite(space.id, { short: true })) // https://app.example/#invite=…Parameters
| Parameter | Type |
|---|---|
invite | string |
page? | string |
Returns
string