globocom/react-native-draftjs-render

writingDirection prop is not passed as textProps

teod opened this issue · 2 comments

teod commented

writingDirection prop is not working when pass through textProps

  getRNDraftJSBlocks({
    contentState,
    textProps: { selectable: true, writingDirection: 'rtl' },
    customStyles,
  })

https://facebook.github.io/react-native/docs/text.html#props

Hello @teod!

I think writingDirection is a style property. See: https://facebook.github.io/react-native/docs/text.html#style
Could you try that?

teod commented

Yes, you're right, thank you for the help !