mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [internal] Fabric didn't have prop [removeClippedSubviews](https://reactnative.dev/docs/view#removeclippedsubviews) implemented. This diff adds it. It is Reviewed By: JoshuaGross Differential Revision: D29906458 fbshipit-source-id: 5851fa41d7facea9aab73ca131b4a0d23a2411ea
24 lines
724 B
Objective-C
24 lines
724 B
Objective-C
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <React/RCTDefines.h>
|
|
|
|
RCT_EXTERN NSString *const RCTUserInterfaceStyleDidChangeNotification;
|
|
RCT_EXTERN NSString *const RCTUserInterfaceStyleDidChangeNotificationTraitCollectionKey;
|
|
|
|
/*
|
|
* Preemptive View Allocation
|
|
*/
|
|
RCT_EXTERN BOOL RCTExperimentGetPreemptiveViewAllocationDisabled(void);
|
|
RCT_EXTERN void RCTExperimentSetPreemptiveViewAllocationDisabled(BOOL value);
|
|
|
|
/*
|
|
* Remove clipped subviews
|
|
*/
|
|
RCT_EXTERN BOOL RCTGetRemoveClippedSubviewsEnabled(void);
|
|
RCT_EXTERN void RCTSetRemoveClippedSubviewsEnabled(BOOL value);
|