Skip to content

Commit

Permalink
Add a name property for DetailsHTMLAttributes (#9918)
Browse files Browse the repository at this point in the history
Co-authored-by: Emanuele Stoppa <[email protected]>
Co-authored-by: Florian Lefebvre <[email protected]>
  • Loading branch information
3 people authored Feb 1, 2024
1 parent 54dbaeb commit d52529e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-jokes-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Adds the `name` attribute to the `<details>` tag type
1 change: 1 addition & 0 deletions packages/astro/astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d52529e

Please sign in to comment.