-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
108 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import Table from '../../../components/Table' | ||
|
||
You can also select the modal's view when calling the `open` function | ||
|
||
```ts | ||
open({ view: 'Account' }) | ||
``` | ||
|
||
List of views you can select | ||
|
||
<Table | ||
headers={['Variable', 'Description']} | ||
data={[ | ||
{ | ||
variable: { code: 'Connect' }, | ||
description: 'Principal view of the modal - default view when disconnected' | ||
}, | ||
{ | ||
variable: { code: 'Account' }, | ||
description: 'User profile - default view when connected' | ||
}, | ||
{ | ||
variable: { code: 'AllWallets' }, | ||
description: 'Shows the list of all available wallets' | ||
}, | ||
{ | ||
variable: { code: 'Networks' }, | ||
description: | ||
'List of available networks - you can select and target a specific network before connecting' | ||
}, | ||
{ | ||
variable: { code: 'WhatIsANetwork' }, | ||
description: '"What is a network" onboarding view' | ||
}, | ||
{ | ||
variable: { code: 'WhatIsAWallet' }, | ||
description: '"What is a wallet" onboarding view' | ||
}, | ||
{ | ||
variable: { code: 'OnRampProviders' }, | ||
description: '"On-Ramp main view' | ||
}, | ||
{ | ||
variable: { code: 'Swap' }, | ||
description: '"Swap main view' | ||
} | ||
]} | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters