alissonmbr / react-xml-viewer

MIT License
29 stars 18 forks source link

Missing className props. #67

Open r0mm4k opened 11 months ago

r0mm4k commented 11 months ago

Hi. Add props className to XMLViewer component. It will be very useful.

alissonmbr commented 10 months ago

Hey @r0mm4k, since version 2.0.0 the root element has the rxv-container className

r0mm4k commented 10 months ago

@alissonmbr sorry, I meant the props className.

Kenan-Kuzgun commented 7 months ago

Hi. Add props className to XMLViewer component. It will be very useful.

Yes, I totally agree. Adding className would be essential for easier customization of the XMLViewer component. This way, we can make style and appearance changes more comfortably.

renamartins commented 5 months ago

It would be nice to pass down className prop as well as be able to change that default rxv-container class name to avoid conflict with existing class names in one's codebase.

renamartins commented 5 months ago

I opened #73 to get started on that feature if you'd like. Also, I posted another issue that might be related, if you are interested: