Skip to content

Commit

Permalink
GITBOOK-38: Added: new modal options
Browse files Browse the repository at this point in the history
  • Loading branch information
f.schoenknecht authored and gitbook-bot committed Dec 2, 2024
1 parent 67eeecb commit a53723f
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions getting-started/implementation-guide/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ Wondering how to obatin an api key? see: [Broken link](broken-reference "mention
bridgeUrl: string;
```

```typescript
// Name of your application
appName: string;
```

```typescript
// The Url of your application
appUrl: string;
```

```typescript
// Optional URL for a generic wallet connection
genericWalletUrl?: string;
Expand Down Expand Up @@ -94,8 +104,13 @@ We recommend first providing the TConnectModalProvider, for example in `Layout.t
import { TConnectModalProvider } from '@tconnect.io/modal';
import { App } from './pages/App';

<TConnectModalProvider apiKey="PRIVATE_API_KEY" >
<App/>
<TConnectModalProvider
appName={"Example App"}
appUrl={"https://your-domain.io"}
bridgeUrl={"https://tconnect.io"}
apiKey={"PRIVATE_API_KEY"}
>
<App/>
</TConnectModalProvider>
```
{% endstep %}
Expand Down

0 comments on commit a53723f

Please sign in to comment.