Skip to content
Alchemy Logo

useUiConfig

function useUiConfig<T>(selector?): T;

Defined in: account-kit/react/src/hooks/useUiConfig.tsx:63

Type ParameterDefault type

T

UiConfigStore

ParameterTypeDescription

selector?

(state) => T

An optional function to select specific parts of the UI config state. ref

T

  • The selected state passed through the selector function or the entire state if no selector is provided
Was this page helpful?