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:
Родитель
f59d79caba
Коммит
ba9c208cdf
|
@ -422,6 +422,8 @@ RCT_ENUM_CONVERTER(UIViewContentMode, (@{
|
|||
RCT_ENUM_CONVERTER(UIBarStyle, (@{
|
||||
@"default": @(UIBarStyleDefault),
|
||||
@"black": @(UIBarStyleBlack),
|
||||
@"blackOpaque": @(UIBarStyleBlackOpaque),
|
||||
@"blackTranslucent": @(UIBarStyleBlackTranslucent),
|
||||
}), UIBarStyleDefault, integerValue)
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче