1.0.17 • Published 5 years ago

masspa-ecart v1.0.17

Weekly downloads
80
License
-
Repository
github
Last release
5 years ago

masspa-ecart

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save masspa-ecart

Usage

import React, { Component } from 'react'

import MyComponent from 'masspa-ecart'
import 'masspa-ecart/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

Properties

Propdescription
sale_pricetitle of product
customButtonStylecustomButtonStyle
styleSubmitButtonstyleSubmitButton
styleAgreeButtonstyleAgreeButton
customStyleContainerCartcustomStyleContainerCart
customStyleContainerOrdercustomStyleContainerOrder
fontFamilyfontFamily
backgroundColorbackgroundColor
currencyUnitcurrency unit
VATHas include VAT or not. JSON type, default: {hasVAT: false, valueVAT: 0}
tempPricetemp price. Number type
totalPricetotal price. Number type
texttexts use in component. JSON type
submitOrderaction of submit order
actionClickOnTitleaction click on title
deleteProductaction click to delete product
changeDatafunction change array of items
changePricefunction change temp price and total price
selectCouponaction click to select a coupon

License

© thinktodo-dev

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago