Skip to content

Instantly share code, notes, and snippets.

View joaopaulomoraes's full-sized avatar
👽
λ Building software for humans

João Paulo Moraes joaopaulomoraes

👽
λ Building software for humans
View GitHub Profile

Keybase proof

I hereby claim:

  • I am joaopaulomoraes on github.
  • I am moraes (https://keybase.io/moraes) on keybase.
  • I have a public key ASAEXIx7r2-dQrix298XA9EPnFPLipWpZwOAKBjr_UvQMgo

To claim this, I am signing this object:

import React, { Component } from 'react'
import Avatar from './Avatar'
class Search extends Component {
state = {
query: '',
users: []
}
handleSearch = event => {
import React, { Component } from 'react'
class Search extends Component {
state = {
query: '',
users: []
}
handleSearch = event => {
const query = event.target.value
import React from 'react'
const styles = {
root: {
margin: '5vw'
},
avatar: {
width: 100,
borderRadius: '50%',
padding: 5,
<Hello name="João" /> // Olá, João
<Hello name="Daniel" /> // Olá, Daniel
<Hello name="Felipe" /> // Olá, Felipe
<Hello name="Márcio" /> // Olá, Márcio
import React, { Component } from 'react'
class Hello extends Component {
render() {
return <h3>Olá, {this.props.name}</h3>
}
}
import React from 'react'
const Hello = (props) => <h3>Olá, {props.name}</h3>