Open
Description
Having trouble applying this plugin to polymorphic components that take an as
or component
prop which determines the html element the component will be rendered as.
For instance the commonly used Box
component pattern like the one in Material UI:
<Box component="button">This is a button</Box>
<Box component="h1">This is a H1 element</Box>
The WordPress Gutenberg team seem to have the same issue.
Metadata
Metadata
Assignees
Labels
No labels