Fix react word wrapping crash

Differential Revision: D3419011

fbshipit-source-id: ac205ea746c03cab946059fc55749f4abbab8d41
This commit is contained in:
Yinan Na 2016-06-10 14:23:06 -07:00 committed by Facebook Github Bot 7
parent 7271a9dc24
commit 14d0b5c0f1

View File

@ -252,6 +252,7 @@ RCT_ENUM_CONVERTER(NSLineBreakMode, (@{
@"head": @(NSLineBreakByTruncatingHead),
@"tail": @(NSLineBreakByTruncatingTail),
@"middle": @(NSLineBreakByTruncatingMiddle),
@"wordWrapping": @(NSLineBreakByWordWrapping),
}), NSLineBreakByTruncatingTail, integerValue)
RCT_ENUM_CONVERTER(NSTextAlignment, (@{