react-native-handoff

0.0.4 • Public • Published

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
    }
}

Package Sidebar

Install

npm i react-native-handoff

Weekly Downloads

6

Version

0.0.4

License

MIT

Unpacked Size

11.5 kB

Total Files

8

Last publish

Collaborators

  • izaak