1.1.1 • Published 6 years ago
@bloomprotocol/share-kit-reactnative v1.1.1

Share Kit React Native
React Native wrapper for Share Kit
Installation
npm install --save @bloomprotocol/share-kit-reactnativeYou may need to also link these dependencies
react-native link react-native-svg
react-native link react-native-linear-gradientUsage
RequestButton will render a button that opens the Bloom app to share specified data.
import React from 'react'
import {RequestButton, Action, RequestData} from '@bloomprotocol/share-kit-reactnative'
const requestData: RequestData = {...}
const buttonCallbackUrl = 'https://mysite.com/bloom-callback'
<RequestButton
requestData={requestData}
callbackUrl={callbackUrl}
size="lg"
type="log-in"
/>More
For more information and documentation see Share Kit
Storyboard Demo
Build Libary
- Build the library
npm run build- Run the storybook
cd example- On android
react-native run-andoird- On ios
react-native run-ios1.1.1
6 years ago
1.1.0-beta.2
6 years ago
1.1.0
6 years ago
1.1.0-beta.1
6 years ago
1.1.0-beta.0
6 years ago
1.0.0
6 years ago