OpenSource: react-appstore-button module

· 1 min read

react-appstore-button

version: 0.0.9

What is this?

An React component which allows you to create an AppStore Download Button in a few seconds. This button:

  • Using vector format, svg file , so don’t worry about the resolution
  • Can specify your App Store button with customised url, width and height

Usage

Example Code:

import AppStoreButton from 'react-appstore-button';

////

export default (props) => {

	return (

	<AppStoreButton 
          url="https://itunes.apple.com/us/app/my-nbn/id1247260936?mt=8"
          width=165
          height=40
        ></AppStoreButton>
	
	);
}

https://gist.github.com/arkilis/a8265e044f74a6816c59d9cf80a47740/

You will get an AppStore download button on Web page looks like this:

Install

install using npm

npm install --save react-appstore-button

Suppport & Feedback

If you have any suggestion on this, any Pull request is welcome, raise an issue on github https://github.com/arkilis/react-AppStore-Button

My email address: [email protected].

License

MIT

Reference