Is it possible to wrap ReactJS components for use with Reagent in Clojurescript? I have read that it is. Can someone provide me with a basic example?
Thanks
Here is my solution for it (I am going to use a React-Bootstrap Panel Component):
1) Include react-bootstrap.min.js in your html.
react-bootstrap.min.js
2) Here is a sample usage of the Panel component:
(def PanelComp (. js/ReactBootstrap -Panel)) (defn page [] [:div [:div [PanelComp {:header "Panel heading without title"} "Panel content"]]])
Here is my solution for it (I am going to use a React-Bootstrap Panel Component):
1) Include
react-bootstrap.min.js
in your html.2) Here is a sample usage of the Panel component: