Liking cljdoc? Tell your friends :D


Clojurescript reagent UI component for displaying user's active web3 account. If user has multiple accounts, select field will be presented, otherwise just plain element with the address. This component uses React Semantic UI.


Add [district0x/district-ui-component-active-account "1.0.0"] into your project.clj
Include [] in your CLJS file

Module dependencies

This UI component assumes you have following UI modules installed in your app:

You can pass following props to the active-account component:

  • :select-props Props passed into Select with multiple accounts.
  • :single-account-props Props passed into single account element
  (ns my-district.core
    (:require [ :refer [active-account]]))
  (defn home-page []

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close