Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(defn simple-component []
[:p "I am a component!"]
"I have " [:strong "bold"]
[:span {:style {:color "red"}} " and red "] "text."]])
const SimpleComponent = () => (
<p>I am a component!</p>
<p className="someclass">
I have <strong>bold</strong>
<span style={{color:"red"}}> and red </span> text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.