Liking cljdoc? Tell your friends :D

com.fulcrologic.fulcro.dom.icons

SVG-encoded material UI icons.

See https://material-ui.com/components/icons

SVG-encoded material UI icons.

See https://material-ui.com/components/icons
raw docstring

clj->jsclj

source

concat-class-stringclj/s

(concat-class-string fragments)
(concat-class-string type fragments)
(concat-class-string base-str type fragments)

fragments is a collection of fragments to concat.

`fragments` is a collection of fragments to concat.
sourceraw docstring

concat-state-stringclj/s

(concat-state-string states)
source

iconclj/s

(icon {:keys [width height modifiers states title] :as props} icon-name)

DEPRECATED. Use ui-icon instead.

Gets an SVG representation of the given icon. Scan the source of this namespace for the defined icons.

  • props:
    • width and height: Size. defaults to 24.
    • modifiers: A sequence of modifiers as keywords, like :X, which adds c-icon--X to the resulting classes.
    • states: A sequence of states like :open. Adds classes like is-open
    • title: A string to use as the title element
    • All other keys pass through to the SVG element itself. If you specify className then it overrides modifiers and states.
  • icon-name: One of the icons defined in this file, as a keyword.
DEPRECATED. Use `ui-icon` instead.

Gets an SVG representation of the given icon. Scan the source of this namespace for the defined icons.

- `props`:
   - `width` and `height`: Size. defaults to 24.
   - `modifiers`: A sequence of modifiers as keywords, like :X, which adds `c-icon--X` to the resulting classes.
   - `states`: A sequence of states like :open. Adds classes like `is-open`
   - `title`: A string to use as the title element
   - All other keys pass through to the SVG element itself. If you specify className then it overrides
     `modifiers` and `states`.
- `icon-name`: One of the icons defined in this file, as a keyword.

 
sourceraw docstring

icon-namesclj/s

source

material-icon-pathsclj/s

source

state-modsclj/s

source

title-caseclj/s

(title-case s)

Capitalize every word in a string

Capitalize every word in a string
sourceraw docstring

ui-iconclj/s

(ui-icon {:keys [icon width height title] :as props})

Gets an SVG representation of the given icon. Scan the source of this namespace for the defined icons.

Props can contain:

  • icon: The SVG icon to use. The icon name can use the material UI underscored names, or clojure-style hyphenated names instead. See the source of this ns for all icons, or the material UI icon docs.
  • title: A string to use as the title element
  • All other keys pass through (and will override predefined props such as :viewBox) on the SVG element itself. I.e. you can pass :className, etc.

Returns an empty div if the icon is invalid.

Gets an SVG representation of the given icon. Scan the source of this namespace for the defined icons.

Props can contain:

- `icon`: The SVG icon to use. The icon name can use the material UI underscored names, or clojure-style hyphenated
  names instead. See the source of this ns for all icons, or the material UI icon docs.
- `title`: A string to use as the title element
- All other keys pass through (and will override predefined props such as :viewBox) on the SVG element itself.
  I.e. you can pass :className, etc.

Returns an empty div if the icon is invalid.
sourceraw docstring

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

× close