0.1.21 • Published 6 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-button
Configuration
/**
* 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: String
0.1.21
6 years ago
0.1.20
6 years ago
0.1.19
6 years ago
0.1.18
6 years ago
0.1.17
6 years ago
0.1.16
6 years ago
0.1.15
6 years ago
0.1.14
6 years ago
0.1.13
6 years ago
0.1.12
6 years ago
0.1.11
6 years ago
0.1.10
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.6
6 years ago
0.1.5
6 years ago
0.1.4
6 years ago
0.1.3
6 years ago
0.1.2
6 years ago
0.1.1
6 years ago
0.1.0
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.6
6 years ago
0.0.7
6 years ago
0.0.5
6 years ago