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

Support React 17

Open kije opened this issue 5 years ago • 2 comments

Please enable support for React 17

kije avatar Dec 12 '20 15:12 kije

It is not meant for Reavt v17. However, from my limited testing, it seems to work well with it. You can install it using the --legacy-peer-deps flag to give it a go. However, it's not an ideal solution.

petersaints avatar Feb 25 '21 20:02 petersaints

<Textfit mode="single" forceSingleModeWidth={true} >
        {this.props.isRoman === true
         ? "lol"//this.toRoman(this.props.interText)
         : "lol"//this.props.interText
}
</Textfit>

Im on react 17, maybe it's an issue with typescript but got fatal error on this

c0ncentus avatar Mar 17 '21 11:03 c0ncentus