import contentState from 'DraftJs/contentState';
After installing when im using the given sapmle code
const MyApp = () => {
const blocks = getRNDraftJSBlocks({ contentState });
return (
<ScrollView style={{ flex: 1 }}>{blocks}
);
};
its showing ERROR: unable to resolve module DraftJs/contentState
import contentState from 'DraftJs/contentState'; After installing when im using the given sapmle code const MyApp = () => { const blocks = getRNDraftJSBlocks({ contentState }); return ( <ScrollView style={{ flex: 1 }}>{blocks} ); }; its showing ERROR: unable to resolve module DraftJs/contentState