Skip to content

Commit 321ba06

Browse files
elicwhitefacebook-github-bot
authored andcommitted
Type TextStyleProp
Reviewed By: yungsters Differential Revision: D7176472 fbshipit-source-id: 35f499bdac6c089d5f45884f6f11ea539c8b7085
1 parent c129457 commit 321ba06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Libraries/StyleSheet/StyleSheetTypes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export type StyleObj = StyleProp<$Shape<Style>>;
242242
export type StyleValue = StyleObj;
243243

244244
export type ViewStyleProp = StyleProp<$ReadOnly<$Shape<ViewStyle>>>;
245-
export type TextStyleProp = StyleObj;
245+
export type TextStyleProp = StyleProp<$ReadOnly<$Shape<TextStyle>>>;
246246
export type ImageStyleProp = StyleProp<$ReadOnly<$Shape<ImageStyle>>>;
247247

248248
export type Styles = {

0 commit comments

Comments
 (0)