react-render-html icon indicating copy to clipboard operation
react-render-html copied to clipboard

Change return type of renderHTML func in index.js

Open scovic opened this issue 7 years ago • 0 comments

When i worked on a project i used this library. I thought it would be a good idea that renderHTML function always returns an array even if it has only one element in the array, because i often find myself in situations where i needed to use functions like map, filter,..., to iterate over the elements of the array that renderHTML returns.

scovic avatar Sep 28 '18 23:09 scovic