@heycar-uikit/app-store-button
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

HeyCar-UIKit - App Store Button

Tests Coverage Status Demo build Commitizen friendly

App store badges for iOS and Android

Installation

To install and save in your package.json dependencies, run the command below using npm:

npm install @heycar-uikit/core

# Or
npm install @heycar-uikit/app-store-button

Usage

// TSX/JSX file
// Core import is recomended
import AppStoreButton from '@heycar-uikit/core/app-store-button';

// or
import AppStoreButton from '@heycar-uikit/app-store-button';

function App() {
  return (
    <div>
      <AppStoreButton
        href="https://apps.apple.com/uk/app/heycar/id1490142063"
        lang="en-EN"
        store="apple"
      />
      <AppStoreButton
        href="https://play.google.com/store/apps/details?id=com.mobility_trader_gmbh.heycar"
        lang="en-EN"
        store="google"
      />
    </div>
  );
}
// CSS file
// Core import is recomended
@import '@heycar-uikit/core/app-store-button/esm/AppStoreButton.css';

// or
@import '@heycar-uikit/app-store-button/dist/esm/AppStoreButton.css';

Documentation and sandbox

Storybook documentation and sandbox

Package Sidebar

Install

npm i @heycar-uikit/app-store-button

Weekly Downloads

0

Version

1.1.0

License

UNLICENSED

Unpacked Size

448 kB

Total Files

81

Last publish

Collaborators

  • heycar-uikit