ButtonMobileStore
To implement ButtonMobileStore component into your project you’ll need to add the import:
import ButtonMobileStore from "@kiwicom/orbit-components/lib/ButtonMobileStore";
After adding import into your project you can use it simply like:
<ButtonMobileStore type="appStore" />
Props
Table below contains all types of the props available in the ButtonMobileStore component.
Name | Type | Default | Description |
---|---|---|---|
alt | string | Optional property for passing own alt attribute to the DOM image element. | |
dataTest | string | Optional prop for testing purposes. | |
id | string | Set id for ButtonMobileStore | |
href | string | The URL to link when the ButtonMobileStore is clicked. | |
onClick | event => void \| Promise | Function for handling onClick event. | |
stopPropagation | boolean | If true the click event won’t bubble. Useful when you use ButtonMobileStore inside another clickable element. | |
type | enum | The type of the ButtonMobileStore. | |
lang | enum | EN | The language of button |
enum
type | lang |
---|---|
"appStore" | "EN" |
"googlePlay" | "ZH" |
"BG" | |
"CS" | |
"DA" | |
"DE" | |
"ES" | |
"FI" | |
"FR" | |
"HU" | |
"IT" | |
"JA" | |
"KO" | |
"NL" | |
"PL" | |
"PT" | |
"RO" | |
"RU" | |
"SK" | |
"SR" | |
"SV" |