diff --git a/README.md b/README.md index 7dd417a..5567c6b 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ RNDraftJSRender comes with default styles, but you can use your own: import React from 'react'; import { AppRegistry, + ScrollView, StyleSheet, } from 'react-native'; @@ -79,7 +80,7 @@ const styles = StyleSheet.flatten({ const MyApp = () => { const blocks = getRNDraftJSBlocks({ contentState, customStyles: styles }); return ( - {blocks} + {blocks} ); };