Hi everyone, can someone kindly provide a simple example for using ikonli font in cljfx? I've added ikonly and octicon deps. So far, this is what I'm doing:
(defn icon [{:keys [code]}]
{:fx/type fx/ext-instance-factory
:create #(FontIcon. (name code))})
usage:
{:fx/type icons/icon
:code :fab-java}
Is this the right way to do this?
I'm wondering why :fx/type :font-icon didn't work. do keyword aliases only work for built-in javafx classes?
Thanks