@fenderdigital/react-app-store-button
v0.3.1
Published
Fender React UI Kit AppStoreButton Component
Downloads
68
Readme
AppStoreButton for Fender React UI Kit
Description
Reusable buttons for App Store Launches
Installation and Usage
yarn add @fenderdigital/react-app-store-button --save
import AppStoreButton from '@fenderdigital/react-app-store-button';
Props
variant
- determine google play store or apple app storehref
- app linkclassName
- for any custom classesimgOverride
- to pass in images other than those in the constants libraryid
- identify unique element for testingdataId
- identify elements for testing
| propName | propType | defaultValue | isRequired | | ----------- | --------------- | ------------ | ---------- | | variant | string | | yes | | href | string | | yes | | className | string | '' | no | | imgOverride | arrayOf(string) | | no | | id | string | | no | | dataId | string | | no |
Development
Check the Monorepo README for development documentation.