Flow: textShadownOffest needs to be stricter

Summary: `width` and `height` are required for this style prop, for the sake of consistency (and Fabric). Callsites should set one of them to 0 instead of not specifying it.

Reviewed By: TheSavior, shergin

Differential Revision: D8371064

fbshipit-source-id: b0ffd6b6543ac5456a3708382966e7b3df241f7e
This commit is contained in:
Kevin Gozali 2018-06-11 19:47:27 -07:00 committed by Facebook Github Bot
parent 119fd1efe7
commit 5cdd141636
1 changed files with 2 additions and 2 deletions

View File

@ -185,8 +185,8 @@ export type ____TextStyle_Internal = $ReadOnly<{|
| 'proportional-nums',
>,
textShadowOffset?: $ReadOnly<{|
width?: number,
height?: number,
width: number,
height: number,
|}>,
textShadowRadius?: number,
textShadowColor?: ColorValue,