thanks~

在 2017年5月25日星期四 UTC+8下午11:20:03,Mike Rodriguez写道:
>
> https://groups.google.com/d/msg/reagent-project/32o3xkXzScw/Hp30XZN_AgAJ
>
> On Wednesday, May 24, 2017 at 11:56:37 PM UTC-4, [email protected] 
> wrote:
>>
>> I create a reagent template project, then I want to use a react UI 
>> library, like antd (https://ant.design/docs/react/introduce), I think 
>> cljsjs/antd can be used, but doesn't success.
>>
>> I change the function current-page like that:
>>
>> (defn current-page []
>>   [js/antd.Button.])
>>
>> but doesn't work.
>>
>> other side, the code like that:
>>
>> (defn current-page []
>>   [:div (js/antd.message.success. "success")])
>>
>> work success!
>>
>> I know that is a function call, not a compontent.
>> So, how to use compontent like "Button"?
>>
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to