mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Add a name property for DetailsHTMLAttributes (#9918)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
This commit is contained in:
parent
54dbaebf50
commit
d52529e094
2 changed files with 6 additions and 0 deletions
5
.changeset/old-jokes-complain.md
Normal file
5
.changeset/old-jokes-complain.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"astro": patch
|
||||
---
|
||||
|
||||
Adds the `name` attribute to the `<details>` tag type
|
1
packages/astro/astro-jsx.d.ts
vendored
1
packages/astro/astro-jsx.d.ts
vendored
|
@ -670,6 +670,7 @@ declare namespace astroHTML.JSX {
|
|||
|
||||
interface DetailsHTMLAttributes extends HTMLAttributes {
|
||||
open?: boolean | string | undefined | null;
|
||||
name?: string | undefined | null;
|
||||
}
|
||||
|
||||
interface DelHTMLAttributes extends HTMLAttributes {
|
||||
|
|
Loading…
Reference in a new issue