We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1fd7ed commit 345eb22Copy full SHA for 345eb22
.changeset/fifty-baboons-bow.md
@@ -0,0 +1,5 @@
1
+---
2
+'astro': patch
3
4
+
5
+Updates `button` attributes types to allow `command` and `commandfor`
packages/astro/astro-jsx.d.ts
@@ -672,6 +672,17 @@ declare namespace astroHTML.JSX {
672
value?: string | string[] | number | undefined | null;
673
popovertarget?: string | undefined | null;
674
popovertargetaction?: 'hide' | 'show' | 'toggle' | undefined | null;
675
+ command?:
676
+ | 'show-modal'
677
+ | 'close'
678
+ | 'request-close'
679
+ | 'show-popover'
680
+ | 'hide-popover'
681
+ | 'toggle-popover'
682
+ | (string & {})
683
+ | undefined
684
+ | null;
685
+ commandfor?: string | undefined | null;
686
}
687
688
interface CanvasHTMLAttributes extends HTMLAttributes {
0 commit comments