1.0.0 • Published 5 years ago
react-app-store-link v1.0.0
react-mobile-store-button
An React component which allows you to create an iOS App Store or Google Play Store Download Button. This button:
- Using vector format,
svgfile , so don't worry about the resolution - Can specify your App Store button with customized
url,widthandheight - Specify
"iosDark","iosLight", or"android"
If you just want the images, you can get them here: iosDark iosLight android
Usage
Example Code:
import MobileStoreButton from 'react-mobile-store-button';
////
export default class MyComponent extends React.Component {
render() {
const iOSUrl = 'https://itunes.apple.com/us/app/all-of-the-lights/id959389722?mt=8';
return (
<div>
<MobileStoreButton
store="ios"
url={iOSUrl}
linkProps={{ title: 'iOS Store Button' }}
/>
</div>
);
}
}You will get an iOS App Store dwonload button on Web page looks like this:

Install
install using npm or yarn
npm install --save react-mobile-store-buttonHow to Run the Example
git clone https://github.com/rizzomichaelg/react-mobile-store-button.git
cd react-mobile-store-button/example
yarn && yarn startLicense
MIT
1.0.0
5 years ago