We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
For some reason the AtomicHandler function is not being called. Can you please let me know what I'm doing incorrectly.
render() { return ( <RNDraftJSRender contentState={this.state.content} atomicHandler={atomicHandler} customStyles={contentStyles} /> . . .
Above the class I have the following:
const atomicHandler = (item: Object): any => { console.warn('made it here!'); switch (item.data.type) { case 'image': return ( <View key={item.key} style={{ flex: 1 }}> <Image style={{ width: 288, height: 161 }} source={{ uri: item.data.url }} /> </View> ); default: return null; } };
However the atomicHandler function is never executed. Any suggestions?
Great library btw...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
For some reason the AtomicHandler function is not being called. Can you please let me know what I'm doing incorrectly.
Above the class I have the following:
However the atomicHandler function is never executed. Any suggestions?
Great library btw...
The text was updated successfully, but these errors were encountered: