@dhl-parcel/dhl-quote-selector
v0.0.17
Published
DHL Quote Selector
Downloads
36
Keywords
Readme
dhl-quote-selector
DHL Quote Selector
Impression
Install
npm install --save dhl-quote-selector
Development environment
npm start
Starts demo environment for local developmentnpm build
Creates a distribution. We use rollup.npm watch
Continuously creates a distribution. Awesome in combination with npm linknpm 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