react-mobile-app-button
Version:
Discover our versatile React component designed to effortlessly integrate download buttons for iOS App Store, Google Play Store, and Huawei AppGallery. With our component, you can easily enhance user experience by providing seamless access to your mobile
41 lines (40 loc) • 1.06 kB
TypeScript
import { FC } from "react";
type GooglePlayButtonProps = {
/**
* @default dark
*/
theme?: "dark" | "light";
/**
* @default GET IT ON
*/
title?: string;
/**
* @default 60px
*/
height?: number;
/**
* @default 180px
*/
width?: number;
/**
* @default ''
*/
className?: string;
/**
* @default ''
*/
url: string;
};
/**
*
* @param {string} theme Choose a theme between dark and light
* @param {number} height Controls the height of the button
* @param {number} width Controls the width of the button
* @param {string} title Set custom title for the button
* @param {string} className Add className to the button in order to customize the button appearance
* @param {string} url Add your store url to the button
* @example <GooglePlayButton theme="light" height={70} width={130} className="button-container" url="https://play.google.com/" />
* @returns
*/
declare const GooglePlayButton: FC<GooglePlayButtonProps>;
export default GooglePlayButton;