Closed
Description
What cheatsheet is this about? (if applicable)
Basic cheatsheet
What's your issue or idea?
Write here
I'd like to propose to changing React.HTMLProps
in favor of React.HTMLAttributes
.
Looking at the type definitions of React, all HTML elements are defined with DetailedHTMLProps
and it's using HTMLAttributes
instead of HTMLProps
.
With the following versions:
"react": "16.8.6",
"react-dom": "16.8.6"
"@types/react": "16.8.22",
"@types/react-dom": "16.8.4"