fix: Add data-* to svg attributes (#9036)

* Add data-* to svg attributes

* Create twelve-suits-drive.md
pull/9038/head
Paolo Ricciuti 1 year ago committed by GitHub
parent 5cd4f7750e
commit a71f3595a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,5 @@
---
"svelte": patch
---
fix: Add data-* to svg attributes

@ -1451,6 +1451,9 @@ export interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DO
yChannelSelector?: string | undefined | null; yChannelSelector?: string | undefined | null;
z?: number | string | undefined | null; z?: number | string | undefined | null;
zoomAndPan?: string | undefined | null; zoomAndPan?: string | undefined | null;
// allow any data- attribute
[key: `data-${string}`]: any;
} }
export interface HTMLWebViewAttributes extends HTMLAttributes<HTMLElement> { export interface HTMLWebViewAttributes extends HTMLAttributes<HTMLElement> {

Loading…
Cancel
Save