Support additional UIBarStyle's in RCTConvert (#20102)

Summary:
Adds two additional UIBarStyles to RCTConvert

- [x] UIBarStyleBlackOpaque
- [x] UIBarStyleBlackTranslucent

Does not affect any tests or current usage of this conversion.
Pull Request resolved: https://github.com/facebook/react-native/pull/20102

Differential Revision: D13421942

Pulled By: hramos

fbshipit-source-id: 1e609eca0fdea2b56b9f6ac87e759c661bdee12b
This commit is contained in:
Birkir Rafn Guðjónsson 2018-12-11 17:27:37 -08:00 коммит произвёл Facebook Github Bot
Родитель f59d79caba
Коммит ba9c208cdf
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -422,6 +422,8 @@ RCT_ENUM_CONVERTER(UIViewContentMode, (@{
RCT_ENUM_CONVERTER(UIBarStyle, (@{
@"default": @(UIBarStyleDefault),
@"black": @(UIBarStyleBlack),
@"blackOpaque": @(UIBarStyleBlackOpaque),
@"blackTranslucent": @(UIBarStyleBlackTranslucent),
}), UIBarStyleDefault, integerValue)
#endif