mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-07 02:08:34 +08:00
Make REACT_CLASS public so we can use a provider
Summary: Make REACT_CLASS a public property on ReactSwitchManager (similar to our other UI managers) so we can more easily lazily load this class. Reviewed By: mdvacca Differential Revision: D14028452 fbshipit-source-id: 84aebd4e2e1e0039957d8c12490022386aab7847
This commit is contained in:
committed by
Facebook Github Bot
parent
f83281e2ce
commit
b8246ac89a
@@ -32,7 +32,7 @@ import javax.annotation.Nullable;
|
||||
*/
|
||||
public class ReactSwitchManager extends SimpleViewManager<ReactSwitch> {
|
||||
|
||||
private static final String REACT_CLASS = "AndroidSwitch";
|
||||
public static final String REACT_CLASS = "AndroidSwitch";
|
||||
|
||||
static class ReactSwitchShadowNode extends LayoutShadowNode implements
|
||||
YogaMeasureFunction {
|
||||
|
||||
Reference in New Issue
Block a user