You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bf1258e
Browse filesBrowse the repository at this point in the historyBrowse files
Make Image component implementation headers for-frameworks (#58875)
Summary:
Pull Request resolved: #58875
Lower `ImageComponentDescriptor.h`, `ImageShadowNode.h`, `ImageProps.h`, `ImageState.h` and `ImageEventEmitter.h` in `react/renderer/components/image` from public to "for frameworks". They implement the built-in `<Image>` component and are consumed by hosts that register core components and by platform image renderers, not by app code. This matches the tiering of the `text`, `scrollview` and `root` component modules.
`conversions.h` stays public and is now the only header in the `<React/Image.h>` umbrella: code generated for a component with an `ImageSource` prop includes `<React/Image.h>` and relies on its `fromRawValue(..., ImageSource &)` overload through `convertRawProp`.
Changelog: [Internal]
Reviewed By: cipolleschi
Differential Revision: D123593354
fbshipit-source-id: 6dc40b2ff027fa344e6138db50d0477f21213369
0 commit comments