Skip to content

AccountModalProps

AccountModalProps = WcAppearanceProps & object

Props for the wagmi account and network dialog.

onClose: () => void

Requests that the controlling component close the dialog.

void

onView: (view) => void

Requests a switch between account details and the network list.

"account" | "networks"

void

open: boolean

Whether the dialog is rendered.

view: "account" | "networks"

Content shown when the dialog opens.