From 06c7e885f872415dd5114039fbc296a81348b616 Mon Sep 17 00:00:00 2001 From: Ian Storm Taylor Date: Fri, 22 Jul 2016 12:15:33 -0700 Subject: [PATCH] add data-key attribute to Text component --- lib/components/text.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/components/text.js b/lib/components/text.js index 15337c143..b6ab80764 100644 --- a/lib/components/text.js +++ b/lib/components/text.js @@ -43,8 +43,9 @@ class Text extends React.Component { */ render() { + const { node } = this.props return ( - + {this.renderLeaves()} )