New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-app-store-badge

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-app-store-badge

A simple react component for displaying a custom app store badge.

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
11
-52.17%
Maintainers
1
Weekly downloads
 
Created
Source

app-store-badge

A simple customizable App Store badge component for React.

NOTE: THIS IS A FIRST BUILD THAT HASN'T BEEN TESTED IN THE WILD YET. USE AT YOUR OWN DISCRETION

Getting started

To setup dev dependencies

npm install

To build dist file

npm run build

To run example server

npm run example

note: requires node/npm

Usage

Create badges in the App Store styles as seen on the Apple App Store and Google Play. You may choose primary (text, icon, and border) and secondary (background) colors. Colors default to white and black respectively.

Provide your own font based icon. For example using a tool like fontello

example:

install the package

npm install --save react-app-store-badge

then use within your project

import ReactAppStoreBadge from 'react-app-store-badge';
// or
var ReactAppStoreBadge = require('react-app-store-badge');

// then in your `render` method's return
<ReactAppStoreBadge
  textHeading="Available on the"
  textStoreName="App Store"
  icon={<i className="icon-my-icon" />}
  url="www.myappstoreplaceholder.com"
/>

FAQs

Package last updated on 19 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts