Open kentbull opened 12 months ago
Maybe this line from your Readme answers my question:
"any react component, which will invoke styled on the component"
(defn my-component [props]
(dom/div {:className (goog.object/get props "className")}
(goog.object/get props "children")))
(defstyled example2 my-component {:border "1px solid"}).
When trying to use a
styled.View
component like so then I am not sure what the(defstyled ...
invocation should be:React component:
Would this work?