Skip to content

Be able to change default className rxv-container applied to root element #74

Closed
@renamartins

Description

@renamartins

The className rxv-container is applied to the root element. However that might conflict with an existing className in someone else's codebase.

Allow the user to change that className to something else by passing a prop. For example:

<XMLViewer xml={xml} defaultClassName="not-rxv-container" />

DOM output:

<div className="not-rxv-container">
   ...
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions