SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 151 C++

Extend emit-as-interface coverage for Uniwind compatibility (#56811)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56811

Extends the set of component props types annotated with `build-types emit-as-interface` to cover all types augmented by Uniwind.

This is a follow-up to D104808984, which added coverage for NativeWind and Expo. The additional types converted to `interface` declarations are:

* `ActivityIndicatorProps`
* `ButtonProps`
* `ImageBackgroundProps`
* `KeyboardAvoidingViewProps`
* `ModalBaseProps`
* `PressableProps`
* `RefreshControlProps`
* `SectionListProps`
* `TextInputProps`
* `TextProps`
* `TouchableHighlightProps`

See https://github.com/uni-stack/uniwind/blob/a2406b8e04f5597b32a44febe01159c5223ee3c6/packages/uniwind/types.d.ts.

Changelog:
[General][Changed] - **Strict TypeScript API**: Additional component props types are now `interface` declarations, enabling module augmentation by libraries like Uniwind (preserve compatibility)

Reviewed By: robhogan

Differential Revision: D105028014

fbshipit-source-id: c0af13a9c764a9105206ce0677e06c46f8f8ef65
A
Alex Hunt committed
2574863642862d507f74355fad40966a1370bf03
Parent: db89600
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 5/18/2026, 10:39:22 AM