packages icon indicating copy to clipboard operation
packages copied to clipboard

How to use cljsjs/react-bootstrap-datetimepicker in the project

Open taha-k opened this issue 8 years ago • 0 comments

I am using react-bootstrap and created wrappers for all components as suggested by http://nicolovaligi.com/boostrap-components-reagent-clojurescript.html

Everything works great and I can call any elements by simply [rbs/Panel {:header "header"} "body"]

I want to use this library, but I cannot find any way I can initiate it. I tried reagent/adapt-react-class, reagect/as-component as well as also calling directly with (js/ReactBootstrapDatetimepicker.) with a lot of trial and errors. I can see the function but it always returns some or the other errors.

I did like to use it in a way similar to this [DateTimePicker {:mode "date"}]

taha-k avatar Jun 16 '17 13:06 taha-k