Skip to content
Permalink
Browse files

Typing ViewProp, ImageProp

  • Loading branch information...
TheSavior authored and facebook-github-bot committed Mar 7, 2018
1 parent d7b5b2e commit c129457d3a6622d7c28e8b27829ffc2b0a03c5eb
Showing with 2 additions and 2 deletions.
  1. +2 −2 Libraries/StyleSheet/StyleSheetTypes.js
@@ -241,9 +241,9 @@ export type StyleProp<+T> =
export type StyleObj = StyleProp<$Shape<Style>>;
export type StyleValue = StyleObj;

export type ViewStyleProp = StyleObj;
export type ViewStyleProp = StyleProp<$ReadOnly<$Shape<ViewStyle>>>;
export type TextStyleProp = StyleObj;
export type ImageStyleProp = StyleObj;
export type ImageStyleProp = StyleProp<$ReadOnly<$Shape<ImageStyle>>>;

export type Styles = {
+[key: string]: $Shape<Style>,

0 comments on commit c129457

Please sign in to comment.
You can’t perform that action at this time.