A respond element that enables you to produce iphone Application Shop, Google Play Shop, as well as Huawei AppGallery Download and install switches to promote downloads of your mobile application.
Exactly how to utilize it:
1. Mount as well as import.
# Thread .$ thread include react-mobile-app-button . . # NPM . $ npm i react-mobile-app-button
import { . GooglePlayButton, . AppStoreButton, . AppGalleryButton , . ButtonsContainer , .} from" react-mobile-app-button";(* )2. Include an Application Download And Install Switch to your application.
export const MyComponent = () => > {
. const APKUrl=
.” https://play.google.com/store/apps/details?id=host.exp.exponent”;
. const iOSUrl=” https://apps.apple.com/us/app/expo-go/id982107779″;
. return(
. < ButtonsContainer >
.
< GooglePlayButton
. link= {>
.
< AppGalleryButton
. link= {
iOSUrl}
.
motif= {"light"}
.
3. Offered switch props.
motif?: “dark” |
“light”;
. elevation?: number;
.
size?: number;
. logo design: string;
.
storeName: string;
.
title: string;
. link: string;
. className?: string;
. boundary?: number;
Sneak Peek:
Download And Install Information:
Writer
: GhassenEljday Live Trial
: Sight The Trial Download And Install Web Link
: Download And Install The Resource Code Authorities Web Site
: https://github.com/GhassenEljday/react-mobile-app-button Certificate
: MIT