Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export type PressableInstance = HostInstance;

export type {PressableAndroidRippleConfig};

/** @build-types emit-as-interface react-native-web compatibility */
export type PressableStateCallbackType = Readonly<{
pressed: boolean,
}>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ export type AccessibilityPropsIOS = Readonly<{
accessibilityRespondsToUserInteraction?: ?boolean,
}>;

/** @build-types emit-as-interface react-native-web compatibility */
export type AccessibilityProps = Readonly<{
...AccessibilityPropsAndroid,
...AccessibilityPropsIOS,
Expand Down
1 change: 1 addition & 0 deletions packages/react-native/Libraries/Image/ImageProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export type ImagePropsBase = Readonly<{
children?: empty,
}>;

/** @build-types emit-as-interface react-native-web compatibility */
export type ImageProps = Readonly<{
...ImagePropsIOS,
...ImagePropsAndroid,
Expand Down
3 changes: 3 additions & 0 deletions packages/react-native/Libraries/StyleSheet/StyleSheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export type TypeForStyleKey<
* object of styles to pass to a View that can't be precomputed with
* StyleSheet.create.
*/
/** @build-types emit-as-interface react-native-web compatibility */
export type ViewStyle = ____ViewStyle_Internal;

/**
Expand All @@ -153,6 +154,7 @@ export type ViewStyle = ____ViewStyle_Internal;
* object of styles to pass to a Text that can't be precomputed with
* StyleSheet.create.
*/
/** @build-types emit-as-interface react-native-web compatibility */
export type TextStyle = ____TextStyle_Internal;

/**
Expand All @@ -170,6 +172,7 @@ export type TextStyle = ____TextStyle_Internal;
* object of styles to pass to an Image that can't be precomputed with
* StyleSheet.create.
*/
/** @build-types emit-as-interface react-native-web compatibility */
export type ImageStyle = ____ImageStyle_Internal;

/**
Expand Down
3 changes: 3 additions & 0 deletions packages/react-native/Libraries/StyleSheet/StyleSheet.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export type TypeForStyleKey<
* object of styles to pass to a View that can't be precomputed with
* StyleSheet.create.
*/
/** @build-types emit-as-interface react-native-web compatibility */
export type ViewStyle = ____ViewStyle_Internal;

/**
Expand All @@ -154,6 +155,7 @@ export type ViewStyle = ____ViewStyle_Internal;
* object of styles to pass to a Text that can't be precomputed with
* StyleSheet.create.
*/
/** @build-types emit-as-interface react-native-web compatibility */
export type TextStyle = ____TextStyle_Internal;

/**
Expand All @@ -171,6 +173,7 @@ export type TextStyle = ____TextStyle_Internal;
* object of styles to pass to an Image that can't be precomputed with
* StyleSheet.create.
*/
/** @build-types emit-as-interface react-native-web compatibility */
export type ImageStyle = ____ImageStyle_Internal;

/**
Expand Down
Loading
Loading