# Function: inviteLink()

```ts
function inviteLink(invite, page?): string;
```

Defined in: [packages/react/src/use-invite-link.ts:21](https://github.com/leifriksheim/minca/blob/main/react/src/use-invite-link.ts#L21)

A link that opens this page with an invite in it.

```ts
inviteLink(await node.spaces.invite(space.id, { short: true }))   // https://app.example/#invite=…
```

## Parameters

| Parameter | Type |
| ------ | ------ |
| `invite` | `string` |
| `page?` | `string` |

## Returns

`string`
