react-string-replace icon indicating copy to clipboard operation
react-string-replace copied to clipboard

ReactNodeArray is deprecated

Open johnbonds opened this issue 3 years ago • 1 comments

per react: /** * @deprecated Use either ReactNode[] if you need an array or Iterable<ReactNode> if its passed to a host component. */

Possible to refactor?

johnbonds avatar Aug 20 '22 19:08 johnbonds

per react: /** * @deprecated Use either ReactNode[] if you need an array or Iterable<ReactNode> if its passed to a host component. */

Possible to refactor?

You can use (<div>Hi!</div>) as React.Node[]

But I fixed that in my PR #81

DerGoogler avatar Sep 23 '22 16:09 DerGoogler

#88

iansinnott avatar Jun 15 '23 08:06 iansinnott