Fix ReactTextComponent display for React 0.11+

Fixes #44.