Skip to content

feat: React component interface #627

Open
@Neurrone

Description

@Neurrone

Feature Request

Description

For ease of use, it would be great if this was available as a React component.

The current use of a global variable is problematic in component-based applications.

Motivation

Grafana is mostly useless for screen reader users right now. Hence, I was prototyping the creation of a panel plugin that uses Maidr.

I quickly ran into issues because of the current requirement to use a script tag.

Proposed Solution

Provide a React component interface.

Additional Context

This would enable the library to be used more easily, encouraging adoption.

Checklist

  • I have searched for similar feature requests and confirmed that this is a new request.
  • I have provided a clear and concise description of the feature.
  • I have explained the motivation behind this feature request.
  • I have outlined a proposed solution or ideas for implementing this feature.
  • I have provided any additional context or screenshots if applicable.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions