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
This sadly cannot work for this type of component, please see: #12 (comment)
If all you care about is height of the component, it is trivial for you to implement this with CSS/in-line styling, in which a read button changes the height (in px or %)/removes in when clicked. I am considering making a secondary component to do so, given that it has been requested a few times.
Hi guys!
I am wondering if it is possible for you guys to let 'readMoreText' accept react components as props rather than strings?
Although it does allow me to pass a react element as the 'readMoreText' props, it is still showing me this error:
Thank You!
The text was updated successfully, but these errors were encountered: