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:
parent
3ecb3ef643
commit
1fba85681e
2 changed files with 7 additions and 0 deletions
5
.changeset/lazy-fireants-clap.md
Normal file
5
.changeset/lazy-fireants-clap.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"astro": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Adds `popovertarget" to the attribute that can be passed to the `button` element
|
2
packages/astro/astro-jsx.d.ts
vendored
2
packages/astro/astro-jsx.d.ts
vendored
|
@ -647,6 +647,7 @@ declare namespace astroHTML.JSX {
|
||||||
name?: string | undefined | null;
|
name?: string | undefined | null;
|
||||||
type?: 'submit' | 'reset' | 'button' | undefined | null;
|
type?: 'submit' | 'reset' | 'button' | undefined | null;
|
||||||
value?: string | string[] | number | undefined | null;
|
value?: string | string[] | number | undefined | null;
|
||||||
|
popovertarget?: string | undefined | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CanvasHTMLAttributes extends HTMLAttributes {
|
interface CanvasHTMLAttributes extends HTMLAttributes {
|
||||||
|
@ -811,6 +812,7 @@ declare namespace astroHTML.JSX {
|
||||||
type?: HTMLInputTypeAttribute | undefined | null;
|
type?: HTMLInputTypeAttribute | undefined | null;
|
||||||
value?: string | string[] | number | undefined | null;
|
value?: string | string[] | number | undefined | null;
|
||||||
width?: number | string | undefined | null;
|
width?: number | string | undefined | null;
|
||||||
|
popovertarget?: string | undefined | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface KeygenHTMLAttributes extends HTMLAttributes {
|
interface KeygenHTMLAttributes extends HTMLAttributes {
|
||||||
|
|
Loading…
Reference in a new issue