-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Hey, there.
Thanks for creating this package. I find it super useful in a lot of cases and I'm interested in creating some pull requests for changes that I would find useful for some of my use cases:
-
Defining a component type to render as via a prop, for example using an "as" prop to specify that it should be rendered as a span with a block display CSS property set when rendering within a table to satisfy valid DOM nesting rules (e.g. since a div shouldn't be rendered within a table).
-
Custom classes for the base component, such as setting the component rendered under
ReactCollapseto fill the width of the parent. TheinitialStyleproperty with accepted propsheightandoverfloware not sufficient in these cases.
I am willing to implement these changes, however it seems that there are pull requests from 2022 that have not been merged which suggests a lack of activity for this library. I am happy to build out these features but if there is no interest in further maintenance (and therefore these PRs not being reviewed), then I may opt for a custom solution instead.
If you could let me know your perspective on this @nkbt that would be appreciated!