Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 665 Bytes

README.md

File metadata and controls

31 lines (27 loc) · 665 Bytes

react-native-handoff

Installation

yarn add react-native-handoff
react-native link

Usage

import React, { Component } from 'react';
import { Text, View } from 'react-native';
import Handoff from 'react-native-handoff';


export default class MyComponent extends Component {
    render() {
        return (
            <View>
                <Handoff
                    title="My Page" 
                    type="com.example.myapp.lookingAtPage" 
                    url="https://example.com" />
                <View>
                    <Text>My Example Page</Text>
                </View>
            </View>
        )l
    }
}