useUiConfig

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

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

Type Parameters

Type ParameterDefault type

T

UiConfigStore

Parameters

ParameterTypeDescription

selector?

(state) => T

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

Returns

T

  • The selected state passed through the selector function or the entire state if no selector is provided