0.1.21 • Published 8 years ago
@vtex/buy-button v0.1.21
BuyButton
BuyButton is a canonical component that any VTEX store can install.
Disclaimer
This component still under construction. Everything may - and will - break. Use with caution, and avoid for now its use in Production projects.
Install
yarn add @vtex/buy-button
# or
npm install @vtex/buy-buttonConfiguration
/**
* The quantity of products to be added to the cart
*/
- quantity
- Type: Number
/**
* The specification of which product will be added to the cart.
*/
- skuId
- Type: Number
/**
* Which seller is being referenced by the button.
*/
- seller
- Type: String
/**
* Sales channel.
*/
- salesChannel
- Type: String
/**
* Graphql property to call a mutation.
*/
- mutate
- Type: Function
/**
* Function that will be called after the mutation.
*/
- afterClick
- Type: Function
/**
* The user's cart id
*/
- orderFormId
- Type: String0.1.21
8 years ago
0.1.20
8 years ago
0.1.19
8 years ago
0.1.18
8 years ago
0.1.17
8 years ago
0.1.16
8 years ago
0.1.15
8 years ago
0.1.14
8 years ago
0.1.13
8 years ago
0.1.12
8 years ago
0.1.11
8 years ago
0.1.10
8 years ago
0.1.9
8 years ago
0.1.8
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.6
8 years ago
0.0.7
8 years ago
0.0.5
8 years ago