-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introducing -[RCTShadowView canHaveSubviews]
Summary: Override `canHaveSubviews` in RCTShadowView subclass to disallow any nested content. For now, this prop will be checked only in DEV mode for performance reasons. Reviewed By: javache Differential Revision: D5189083 fbshipit-source-id: 87087dd806e1fd7320128dab969b13642174f81c
- Loading branch information
1 parent
d0ad6ad
commit abfa63c
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters