react-native-draftjs-render icon indicating copy to clipboard operation
react-native-draftjs-render copied to clipboard

contentState is giving error

Open kuldeepworkid opened this issue 4 years ago • 1 comments

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}</ScrollView> ); }; its showing ERROR: unable to resolve module DraftJs/contentState

kuldeepworkid avatar May 11 '20 13:05 kuldeepworkid

Seems like a duplicate of https://github.com/globocom/react-native-draftjs-render/issues/44 and https://github.com/globocom/react-native-draftjs-render/issues/54.

Darkilen avatar Jan 20 '21 14:01 Darkilen