Skip to Content
API Reference@cfxdevkit/reactConnectButtonRenderProps

@cfxdevkit/react


@cfxdevkit/react / ConnectButtonRenderProps

Interface: ConnectButtonRenderProps

Defined in: components/connect-wallet/ConnectButton.tsx:27

Properties

address?

optional address: string

Defined in: components/connect-wallet/ConnectButton.tsx:29


connect()

connect: () => Promise<void>

Defined in: components/connect-wallet/ConnectButton.tsx:30

Returns

Promise<void>


disconnect()

disconnect: () => void

Defined in: components/connect-wallet/ConnectButton.tsx:31

Returns

void


isConnected

isConnected: boolean

Defined in: components/connect-wallet/ConnectButton.tsx:28


isLoading

isLoading: boolean

Defined in: components/connect-wallet/ConnectButton.tsx:32