react-truncate icon indicating copy to clipboard operation
react-truncate copied to clipboard

Can't add as dependency in React 18

Open mansisindhu opened this issue 2 years ago • 10 comments

Screenshot 2022-06-28 at 9 22 58 AM

mansisindhu avatar Jun 28 '22 03:06 mansisindhu

having the same issue

nicholasjpanella avatar Jun 28 '22 14:06 nicholasjpanella

same

ismaellastlevel avatar Jul 11 '22 07:07 ismaellastlevel

Same here, any movement on this?

stefumies avatar Aug 24 '22 08:08 stefumies

Same here.

LazAustin avatar Sep 27 '22 12:09 LazAustin

This package doesn't support even react 17. You should consider using another (or self-written) tool.

underherzen avatar Oct 24 '22 12:10 underherzen

or you can install with --legacy-peers flag

underherzen avatar Oct 24 '22 12:10 underherzen

does not work for me too, does anyone knows an alternative?

MaxKoldun avatar Nov 30 '22 09:11 MaxKoldun

It looks like this repo is totally abandoned. Take the PR from https://github.com/pablosichert/react-truncate/pull/156 and add to your own codebase.

jimmywim avatar Dec 06 '22 13:12 jimmywim

In case anyone needs it. I created a typescript component from this package.

https://gist.github.com/severance88/fd4dc55b0d0ca170d8d23089bf28b01b

Severancedev avatar Jan 20 '23 15:01 Severancedev

In case anyone needs it. I created a typescript component from this package.

https://gist.github.com/severance88/fd4dc55b0d0ca170d8d23089bf28b01b

It works, thanks.

keremcanb avatar Jun 05 '23 08:06 keremcanb