(append-navigationOptions react-component navigationOptions)
If navigationOptions are specified append to the react-component
If navigationOptions are specified append to the react-component
(fn-or-react-component? fn-or-c)
Confirms either a valid react component was passed in or a function that returns a react component. If it's a function, props will be converted to clojure structures with keywords. Expects the fn to return a valid component
Confirms either a valid react component was passed in or a function that returns a react component. If it's a function, props will be converted to clojure structures with keywords. Expects the fn to return a valid component
(fn-or-react-element? fn-or-e)
Confirms either a valid react element was passed in or a function that returns a react element. If it's a function, props will be converted to clojure structures with keywords. Expects the fn to return a valid component
Confirms either a valid react element was passed in or a function that returns a react element. If it's a function, props will be converted to clojure structures with keywords. Expects the fn to return a valid component
(navigation-options? map-or-fn)
Conforms a clj map (or a function that returns a clj map) to a js object
Conforms a clj map (or a function that returns a clj map) to a js object
(react-component? c)
Spec conforming function. Accepts a react class or returns :cljs.spec.alpha/invalid.
Spec conforming function. Accepts a react class or returns :cljs.spec.alpha/invalid.
(react-element? e)
Spec conforming function. Accepts either a react element, conforms a react class to an element, or returns :cljs.spec.alpha/invalid.
Spec conforming function. Accepts either a react element, conforms a react class to an element, or returns :cljs.spec.alpha/invalid.
(string-or-react-component? s-or-c)
Accepts either a string, react component, or a fn that returns a react component. If it's a fn, props will automatically convert (js->clj) when the fn is called.
Accepts either a string, react component, or a fn that returns a react component. If it's a fn, props will automatically convert (js->clj) when the fn is called.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close