0.2.12 • Published 5 years ago

react-address-typeahead-with-hilighter v0.2.12

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

react-address-typeahead-with-hilighter

This project fork from jquery.Thailand.js react-thailand-address-typeahead

Requirement

  • react

Installation

$ npm install react react-address-typeahead-with-hilighter

Usage

import { AddressForm } from 'react-thailand-address-typeahead';

export default () => (
    <div>
        <AddressForm
         onAddressSelected={(addressObject) => console.log(addressObject)} 
        />
    </div>
)

OR

import { AddressWithoutForm } from 'react-thailand-address-typeahead';

export default () => (
    <div>
        <AddressWithoutForm
         onAddressSelected={(addressObject) => console.log(addressObject)} 
        />
    </div>
)

NOTE: For component styles you can include or use loader ./dist/styles.css to 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.json lazy loading
  • server-side implementation example
  • using without React example
  • using with google map 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
  • Commitizen prefer !! 😎 -->

License

  • MIT
0.2.12

5 years ago

0.2.11

5 years ago

0.2.9

5 years ago

0.2.8

5 years ago

0.2.7-beta.0

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.13

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago