0
Fork 0
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:
Larry Ivan Villegas Costas 2024-02-01 11:02:47 -04:00 committed by GitHub
parent 54dbaebf50
commit d52529e094
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"astro": patch
---
Adds the `name` attribute to the `<details>` tag type

View file

@ -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 {