AccountModalProps
AccountModalProps =
WcAppearanceProps&object
Props for the wagmi account and network dialog.
Type Declaration
Section titled “Type Declaration”onClose
Section titled “onClose”onClose: () =>
void
Requests that the controlling component close the dialog.
Returns
Section titled “Returns”void
onView
Section titled “onView”onView: (
view) =>void
Requests a switch between account details and the network list.
Parameters
Section titled “Parameters”"account" | "networks"
Returns
Section titled “Returns”void
open:
boolean
Whether the dialog is rendered.
view:
"account"|"networks"
Content shown when the dialog opens.