Add focusgroup attribute as valid prop#3390
Conversation
[`focusgroup`](https://microsoftedge.github.io/Demos/focusgroup/) is an upcoming attribute for HTML elements. Currently, we are unable to test & use this attribute as it fails the is-valid-prop check in Linaria
|
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
There was a problem hiding this comment.
Pull request overview
Adds the upcoming HTML focusgroup attribute to @emotion/is-prop-valid’s allow-list so it passes Linaria’s is-valid-prop checks and can be used/tested without being filtered.
Changes:
- Add
focusgroupto thepropsallow-list in@emotion/is-prop-valid.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
What:
Adding
focusgroupto the list of valid propsWhy:
focusgroupis an upcoming attribute for HTML elements.Currently, we are unable to test & use this attribute as it fails the is-valid-prop check in Linaria
How:
Simply adding to the allow-list. No logic changes.
Checklist: