You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking for a way to pass in any react element in place of the overflow text. My use case is as follows
Given that a developer is using react-clamp-lines component
The developer should be able to pass int a custom prop `overFlowElement` that allows them to substitute the more / less text with any react element
In my case, I'd like to be able to substitute it with a link that says, "Continue reading .." and it should allow me to link from the text to a different page in my application. I don't believe this feature is currently supported by react-clamp-lines, does anyone have any suggestions for workarounds in the meantime? For reference, shittake has support for this feature and they call it overflowNode.
Thank you
The text was updated successfully, but these errors were encountered:
Hello there,
I am looking for a way to pass in any react element in place of the overflow text. My use case is as follows
In my case, I'd like to be able to substitute it with a link that says, "Continue reading .." and it should allow me to link from the text to a different page in my application. I don't believe this feature is currently supported by
react-clamp-lines
, does anyone have any suggestions for workarounds in the meantime? For reference, shittake has support for this feature and they call itoverflowNode
.Thank you
The text was updated successfully, but these errors were encountered: