React Native component to display your markup/html in a web view for Froala WYSIWYG Editor.
npm install --save react-native-froala-webview
import React, { Component } from 'react';
import FroalaWebView from 'react-native-froala-webview';
class Home extends Component {
render(){
const {html} = this.props; /*get your html code any way you want*/
return (
<FroalaWebView html={html} />
);
}
}
export default Home;
Please contribute
- Add a style property
- Add testing
- Add FroalaWebEditor