react-native-fast-text-html
v0.2.0
Published
Support for Text Html
Readme
react-native-fast-text-html
Support for Text Html
npm install react-native-fast-text-htmlUsage
import { StyleSheet, View } from 'react-native';
import { TextHtml } from 'react-native-fast-text-html';
export default function App() {
return (
<View style={styles.container}>
<TextHtml
html={
"<h1>react-native-fast-text-html</h1> <b>Hello</b> <i>world</i> <font color='red'>Native Module!</font>"
}
style={styles.box}
/>
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: 100,
},
box: {
// width: '100%',
// height: 500,
// marginVertical: 20,
},
});
License
MIT
