mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-10 22:47:02 +08:00
Initial commit.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package com.swmansion.rnscreens;
|
||||
|
||||
import com.facebook.react.uimanager.ThemedReactContext;
|
||||
import com.facebook.react.uimanager.annotations.ReactProp;
|
||||
|
||||
public class ScreenStackViewManager extends ScreenContainerViewManager {
|
||||
|
||||
protected static final String REACT_CLASS = "RNSScreenStack";
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return REACT_CLASS;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ScreenContainer createViewInstance(ThemedReactContext reactContext) {
|
||||
return new ScreenStack(reactContext);
|
||||
}
|
||||
|
||||
@ReactProp(name = "transitioning", defaultFloat = 0)
|
||||
public void setTransitioning(ScreenStack view, float transitioning) {
|
||||
view.setTransitioning(transitioning);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user