Skip to Content

@cfxdevkit/react


@cfxdevkit/react / ConnectButtonProps

Interface: ConnectButtonProps

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

Extends

Properties

accountIndex?

optional accountIndex: number

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


children?

optional children: ReactNode | RenderPropChild<ConnectButtonRenderProps>

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


className?

optional className: string

Defined in: types/index.ts:52

Inherited from

BaseComponentProps.className


onConnect()?

optional onConnect: () => void

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

Returns

void


onDisconnect()?

optional onDisconnect: () => void

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

Returns

void