How to use the react-native-shared-element.nodeFromRef function in react-native-shared-element

To help you get started, we’ve selected a few react-native-shared-element examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github IjzerenHein / react-navigation-shared-element / src / createSharedElementScene.tsx View on Github external
private onSetRef = (ref: any) => {
      this.sceneData.setAncestor(nodeFromRef(ref));
    };

react-native-shared-element

Native shared element transition primitives for react-native 💫

MIT
Latest version published 1 year ago

Package Health Score

57 / 100
Full package analysis

Popular react-native-shared-element functions