@dhl-parcel/dhl-quote-selector

DHL Quote Selector

Stats

StarsIssuesVersionUpdatedCreatedSize
@dhl-parcel/dhl-quote-selector
0.0.173 years ago3 years agoMinified + gzip package size for @dhl-parcel/dhl-quote-selector in KB

Readme

dhl-quote-selector

DHL Quote Selector

NPM JavaScript Style Guide

Impression

Install

npm install --save dhl-quote-selector

Development environment

  • npm start Starts demo environment for local development
  • npm build Creates a distribution. We use rollup.
  • npm watch Continuously creates a distribution. Awesome in combination with npm link
  • npm publish --access public Publishes to npmjs

Usage

import React, { Component } from 'react'
import ParcelQuoteSelector from 'dhl-quote-selector';

class App extends React.Component {
  state = {
    selected: '',
  }

  render() {
    return (
      <div>
        <ParcelQuoteSelector 
          fromCountry="NL" 
          toCountry="NL" 
          tr={i => translations[i.toLowerCase()]} />
      </div>);
  }
}

License

UNLICENSED © DHL

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.