1.1.8 • Published 7 years ago
react-italy-address-typeahead v1.1.8
react-italy-address-typeahead
Requirement
- react
Installation
$ npm install react-italy-address-typeaheadUsage
import AddressFormTypeahead from 'react-italy-address-typeahead';
export default () => (
<div>
<AddressFormTypeahead
onAddressSelected={(addressObject) => console.log(addressObject)}
/>
</div>
)NOTE: For component styles you can include or use loader
./dist/styles.cssto your app or implement by yourself styles
For futher more see Example
Todo
- MORE UNIT TEST
- custom styles example
- improve performance and reduce bundle size
data.jsonlazy loading- server-side implementation example
- using without React example
Development
- Clone this project
- run
npm install - start development via storybook
npm run storybook - navigate to
localhost:9001
Testing
npm test
Contribute
- open for any pullrequest
License
- Original : WTFPL 2.0 http://www.wtfpl.net/
- Also MIT (formally)