0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

fix: add missing attribute to button (#9762)

* fix: add missing attribute to button

* feedback
This commit is contained in:
Emanuele Stoppa 2024-01-22 19:05:31 +00:00 committed by GitHub
parent 3ecb3ef643
commit 1fba85681e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"astro": patch
---
Adds `popovertarget" to the attribute that can be passed to the `button` element

View file

@ -647,6 +647,7 @@ declare namespace astroHTML.JSX {
name?: string | undefined | null;
type?: 'submit' | 'reset' | 'button' | undefined | null;
value?: string | string[] | number | undefined | null;
popovertarget?: string | undefined | null;
}
interface CanvasHTMLAttributes extends HTMLAttributes {
@ -811,6 +812,7 @@ declare namespace astroHTML.JSX {
type?: HTMLInputTypeAttribute | undefined | null;
value?: string | string[] | number | undefined | null;
width?: number | string | undefined | null;
popovertarget?: string | undefined | null;
}
interface KeygenHTMLAttributes extends HTMLAttributes {