Features
- The component is already integrated with
@orderly.network/hooksand can be used without any configuration. - The component handles checks on the user’s status, as well as connection to the wallet.
- The component must be used within the
ConnectionProvidercomponent withinOrderlyAppProvider.
Usage
Static mode
You can display theDeposit component directly in your project:
Modal mode
You can also choose to displays thedeposit component through a modal:
APIs
onOk
- Type:
(data: any) => void - Required: false
onCancel
- Type:
() => void - Required: false