Skip to content

fix: deprecate unused fontData prop#2753

Merged
kacperzolkiewski merged 2 commits into
software-mansion:mainfrom
kacperzolkiewski:fixFontDataProp
Nov 5, 2025
Merged

fix: deprecate unused fontData prop#2753
kacperzolkiewski merged 2 commits into
software-mansion:mainfrom
kacperzolkiewski:fixFontDataProp

Conversation

@kacperzolkiewski
Copy link
Copy Markdown
Collaborator

@kacperzolkiewski kacperzolkiewski commented Aug 26, 2025

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:
image

Compatibility

OS Implemented
iOS
MacOS
Android
Web

Checklist

  • I have tested this on a device and a simulator
  • I added documentation in README.md
  • I updated the typed files (typescript)
  • I added a test for the API in the __tests__ folder

Copy link
Copy Markdown
Member

@jakex7 jakex7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, we may want to deprecate it instead

@kacperzolkiewski kacperzolkiewski changed the title fix: remove unused fontData prop fix: deprecate unused fontData prop Nov 5, 2025
@kacperzolkiewski kacperzolkiewski merged commit 6fea737 into software-mansion:main Nov 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fontData prop not working

2 participants