We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7b5b2e commit c129457Copy full SHA for c129457
Libraries/StyleSheet/StyleSheetTypes.js
@@ -241,9 +241,9 @@ export type StyleProp<+T> =
241
export type StyleObj = StyleProp<$Shape<Style>>;
242
export type StyleValue = StyleObj;
243
244
-export type ViewStyleProp = StyleObj;
+export type ViewStyleProp = StyleProp<$ReadOnly<$Shape<ViewStyle>>>;
245
export type TextStyleProp = StyleObj;
246
-export type ImageStyleProp = StyleObj;
+export type ImageStyleProp = StyleProp<$ReadOnly<$Shape<ImageStyle>>>;
247
248
export type Styles = {
249
+[key: string]: $Shape<Style>,
0 commit comments