From 08292389392348e20260c9fa38d5daecf4403342 Mon Sep 17 00:00:00 2001 From: Guillermo Guerrero Date: Sat, 2 May 2020 20:25:21 +0200 Subject: [PATCH] Override props. --- src/TagSelect.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TagSelect.js b/src/TagSelect.js index d4e1a8a..cabcd32 100644 --- a/src/TagSelect.js +++ b/src/TagSelect.js @@ -123,9 +123,10 @@ class TagSelect extends React.Component { ]} > {this.props.data.map((i) => { + const props = {...this.props, ...i} return (