Commit 6fea737
authored
fix: deprecate unused fontData prop (#2753)
# Summary
Fixes: #2478
The `fontData` property was created for internal usage within the
library and was never intended to be exposed or used by external users.
PR deprecate this prop to avoid confusion and ensure the public API
remains clean and aligned with SVG standards.
## Test Plan
Run example from issue: #2478, you should see a warning:
<img width="577" height="189" alt="image"
src="https://github.com/user-attachments/assets/a9cce281-84e5-4a20-806f-9c0ac0ec0d24"
/>1 parent ce880ac commit 6fea737
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
| |||
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
95 | | - | |
96 | 93 | | |
97 | 94 | | |
98 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
385 | 388 | | |
386 | 389 | | |
387 | 390 | | |
0 commit comments