alex-kinokon / jsx-dom

Use JSX to create DOM elements.
BSD 3-Clause "New" or "Revised" License
278 stars 30 forks source link

Support for disabled property of link: <link href="..." disabled /> #97

Closed caph1993 closed 11 months ago

caph1993 commented 11 months ago

Hello, when I try to use the disabled property in a link element, I get a type error:

Property 'disabled' does not exist on type 'DetailedHTMLProps<LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>'.ts(2322)

I wonder if it can be added to the type declaration to get rid of the editor warning.

alex-kinokon commented 11 months ago

PR welcome