@dhl-parcel/dhl-quote-selector

0.0.17 • Public • Published

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

/@dhl-parcel/dhl-quote-selector/

    Package Sidebar

    Install

    npm i @dhl-parcel/dhl-quote-selector

    Weekly Downloads

    0

    Version

    0.0.17

    License

    UNLICENSED

    Unpacked Size

    1.86 MB

    Total Files

    8

    Last publish

    Collaborators

    • jandegroot
    • gerbrand
    • snkjscom
    • dhl-parcel-ci
    • toebez