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