react-show-more
react-show-more copied to clipboard
Convenience wrapper around react-truncate
When you supply a React node, I'd like to move the onClick event to the React node instead of the surrounding span element. In my case I wanted to center...
When i wrote this line in render it does not display relevent output . ``` {ReactHtmlParser(product_desc)} ```
If i do not display the text. display component like this, It will not display correct in Unexpandable mode. How to fix it? ```js const users = ["a-123", "a-234", "a-345",...
I'm trying to remove the ellipsis altogether, but it looks to be hard coded in ShowMore.js as "... " I found that changing line 85 from this: `"... "` to...
react truncate has a new property `width`, patch to allow props to pass through to `react-truncate`, also updated `react-truncate`
Truncate has a prop `width` specified in their [ReadMe](https://github.com/One-com/react-truncate/blob/master/README.md) Came about with the resolution of this [issue](https://github.com/One-com/react-truncate/issues/49) Can this be added into the wrapper here?
I'm getting below error. I'm using, "react": "^16.2.0", "react-show-more": "^1.1.1", TypeError: Cannot read property 'node' of undefined ./node_modules/react-show-more/lib/ShowMore.js node_modules/react-show-more/lib/ShowMore.js:116
*Observed Behavior* 1-2 seconds after page-load: *Expected Behavior*:
I'm using Next.js app which has a card component that has read more link. when the user clicks on read more link the card should expand, now it's working properly...