Skip to content

Commit

Permalink
Type TextStyleProp
Browse files Browse the repository at this point in the history
Reviewed By: yungsters

Differential Revision: D7176472

fbshipit-source-id: 35f499bdac6c089d5f45884f6f11ea539c8b7085
  • Loading branch information
elicwhite authored and facebook-github-bot committed Mar 7, 2018
1 parent c129457 commit 321ba06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/StyleSheet/StyleSheetTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export type StyleObj = StyleProp<$Shape<Style>>;
export type StyleValue = StyleObj;

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

export type Styles = {
Expand Down

0 comments on commit 321ba06

Please sign in to comment.