Skip to content

Allow setting id and data-testid #546

@joshkel

Description

@joshkel

To facilitate testing and better integrate into the DOM, it would be helpful to be able to pass standard HTML div attributes such as id, as well as HTML5 data attributes such as the data-testid attribute used by React Testing Library, to the ReactECharts component and have them appear on the <div>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions