mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add collapsable to RCTViewManager as property
Summary: Changelog: [internal] collapsable was not passed to Fabric because view configs are built using Paper' ViewManagers. Reviewed By: p-sun Differential Revision: D27944688 fbshipit-source-id: 73a5646e25b3dd7a1a9dfc1079406047ab483d88
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4efd603b26
commit
925af8ddea
@@ -301,6 +301,13 @@ RCT_CUSTOM_VIEW_PROPERTY(hitSlop, UIEdgeInsets, RCTView)
|
||||
}
|
||||
}
|
||||
|
||||
RCT_CUSTOM_VIEW_PROPERTY(collapsable, BOOL, RCTView)
|
||||
{
|
||||
// Property is only to be used in the new renderer.
|
||||
// It is necessary to add it here, otherwise it gets
|
||||
// filtered by view configs.
|
||||
}
|
||||
|
||||
#define RCT_VIEW_BORDER_PROPERTY(SIDE) \
|
||||
RCT_CUSTOM_VIEW_PROPERTY(border##SIDE##Width, float, RCTView) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user