Skip to content

Instantly share code, notes, and snippets.

@jeffersontpadua
Last active January 5, 2019 13:34
Show Gist options
  • Save jeffersontpadua/3d451645f3fbbb24fb05b616c0a41acb to your computer and use it in GitHub Desktop.
Save jeffersontpadua/3d451645f3fbbb24fb05b616c0a41acb to your computer and use it in GitHub Desktop.
Componente para entrada de texto
import { EntradaTexto } from './EntradaTexto';
class App extends Component {
render() {
return (
<div className="App">
<EntradaTexto />
</div>
);
}
}
export default App;
import React, { Component } from 'react';
export class EntradaTexto extends Component {
render() {
return (
<div>
<textarea />
<div>
<button>Enviar</button>
</div>
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment