Skip to content

[pull] main from expo:main#821

Merged
pull[bot] merged 1 commit intocode:mainfrom
expo:main
May 1, 2026
Merged

[pull] main from expo:main#821
pull[bot] merged 1 commit intocode:mainfrom
expo:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…guide and example (#45122)

# Why

We want an ability to extend Expo UI with custom Compose views and
modifiers. This PR adds related APIs, examples and guide for the same.

<!--
Please describe the motivation for this PR, and link to relevant GitHub
issues, forums posts, or feature requests.
-->

# How

- Added `unregister` method to `ModifierRegistry` to unregister to
modifier, similar to iOS
- Exported `createModifier`, `createViewModifierEventListener` 
- Added example in NCL
- Added a documentation guide.

<!--
How did you build this feature or fix this bug and why?
-->

# Test Plan

Test Extend Expo UI example in NCL Expo UI screen.

<img width="200" height="auto" alt="Screenshot 2026-04-27 at 6 19 28 PM"
src="https://github.com/user-attachments/assets/8a6a2c49-0e73-4ab9-807a-575fd4df43c7"
/>


<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [x] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [x] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [x] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)

---------

Co-authored-by: Aman Mittal <amandeepmittal@live.com>
@pull pull Bot locked and limited conversation to collaborators May 1, 2026
@pull pull Bot added the ⤵️ pull label May 1, 2026
@pull pull Bot merged commit 870dcba into code:main May 1, 2026
6 of 8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant