react-image-display-control
react-image-display-control copied to clipboard
Issue a warning if known attributes are on the wrong component
For example, if the user writes
<ImageDisplayControl data-disabled="all">
<Image src="..." />
</ImageDisplayControl>
instead of
<ImageDisplayControl>
<Image src="..." data-disabled="all" />
</ImageDisplayControl>
See:
- https://docs.frameright.io/react/attributes
- https://docs.frameright.io/web-component/attribute-ref
Are you asking to open the issue on the above problem mentioned?
Hi @AbhiR-03, yes I was thinking of a console warning like this one. Let me know if you want to give a try at solving this issue. Thanks!