react-formatize
v0.0.4
Published
Editor WYSIWYG com comportamento similar ao Gmail App
Downloads
8
Maintainers
Readme
Está em fase de TESTES!
Exemplo de uso:
import React, {Component} from 'react'
import ReactFormatize from './components/ReactFormatize'
class App extends Component
{
state = {
html: ``
}
handleChange = html => this.setState({ html })
render() {
return (
<div className="App">
<ReactFormatize
value={this.state.html}
onChange={this.handleChange}/>
{this.state.html}
</div>
);
}
}
export default App