Skip to content

Commit

Permalink
Merge pull request #19 from tristonarmstrong/chore/svg-types
Browse files Browse the repository at this point in the history
add missing text svg properties
  • Loading branch information
LankyMoose authored Oct 7, 2024
2 parents 2158ba6 + 42ae5b8 commit fb5b3bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/lib/src/types.dom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,13 @@ interface SvgElementAttributes {
y?: string | number
}
text: SvgStrokeAttributes & {
x?: string | number
y?: string | number
dx?: string | number
dy?: string | number
rotate?: "none" | (string & {})
textLength?: string | number
lengthAdjust?: "spacing" | "spacingAndGlyphs"
mask?: string
opacity?: string | number
}
Expand Down

0 comments on commit fb5b3bd

Please sign in to comment.