react-mobile-share
Advanced tools
Comparing version 1.0.10 to 1.0.11
{ | ||
"name": "react-mobile-share", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# React-Mobile-Share | ||
Provides an easy and simple way to share data (such as text, url and media) via mobile’s build-in share module. | ||
Provides an easy and simple way to share data (such as text, url and media) via mobile’s built-in share module. | ||
It is based on [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share). | ||
This works only with secure contexts (HTTPS). | ||
## Features | ||
- Lightweight | ||
- Share text, url and image. | ||
- Works on Android and iOS | ||
## 🔧 Installation | ||
@@ -12,10 +20,9 @@ | ||
## Demo | ||
[Try with CodeSandbox](https://codesandbox.io/s/react-mobile-share-example-r11kjs?file=/src/App.js) | ||
## Preview | ||
![Android](https://raw.githubusercontent.com/encoresky/react-mobile-share/main/sample-android-share.png) | ||
![iOS](https://raw.githubusercontent.com/encoresky/react-mobile-share/main/sample-ios-share.png) | ||
### Mobile | ||
![1660745435905.JPEG](README%20md%206a99d203d22b4251a55f21e69d585cc2/1660745435905.jpeg) | ||
Mobile Preview | ||
## 📦 Usage | ||
@@ -42,3 +49,3 @@ | ||
> | ||
Share{" "} | ||
Share | ||
</button> | ||
@@ -45,0 +52,0 @@ </div> |
66613
6
64