mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
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:
committed by
Facebook Github Bot
parent
f59d79caba
commit
ba9c208cdf
@@ -422,6 +422,8 @@ RCT_ENUM_CONVERTER(UIViewContentMode, (@{
|
||||
RCT_ENUM_CONVERTER(UIBarStyle, (@{
|
||||
@"default": @(UIBarStyleDefault),
|
||||
@"black": @(UIBarStyleBlack),
|
||||
@"blackOpaque": @(UIBarStyleBlackOpaque),
|
||||
@"blackTranslucent": @(UIBarStyleBlackTranslucent),
|
||||
}), UIBarStyleDefault, integerValue)
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user