UNPKG

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
import { FC } from "react"; type AppStoreButtonProps = { /** * @default dark */ theme?: "dark" | "light"; /** * @default Download on the */ 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 <AppStoreButton theme="light" height={70} width={130} className="button-container" url="https://www.apple.com/app-store/" /> * @returns */ declare const AppStoreButton: FC<AppStoreButtonProps>; export default AppStoreButton;