Skip to content

Instantly share code, notes, and snippets.

@manoelneto
Created August 5, 2018 15:14
Show Gist options
  • Save manoelneto/8572022cfd3d637e04f7358eee4ae553 to your computer and use it in GitHub Desktop.
Save manoelneto/8572022cfd3d637e04f7358eee4ae553 to your computer and use it in GitHub Desktop.
import React from 'react';
export default ({value, onChange}) => (
<div>
Olá, o progresso é {value}
<input type="text" value={value} onChange={(evt) => onChange(evt.target.value)}/>
</div>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment