Skip to content

Commit

Permalink
chore(README): Make punctuation and casing consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
hibiken committed Jul 12, 2016
1 parent 088ad58 commit a6aed94
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,22 @@ export default SimpleForm
### Props for `PlacesAutocomplete`

#### value
Type: `String`
Type: `String`,
Required: `true`

Value displayed in the input field

#### setAddress
Type: `function`
Type: `Function`,
Required: `true`

Please see the example above

#### classNames
Type: `object`
Type: `Object`,
Require: `false`

You can give a custom css classes to elements
You can give a custom css classes to elements.
Accepted keys are `container`, `label`, `input`, `autocompleteContainer`

```js
Expand All @@ -128,11 +128,11 @@ render() {
Now you can easily apply custom CSS styles using the classNames!

#### placeholder
Type: `String`
Required: `false`
Type: `String`,
Required: `false`,
Default: `"Address"`

You can pass placeholder prop to customize input's placeholder text
You can pass `placeholder` prop to customize input's placeholder text


### `geocodeByAddress` API
Expand All @@ -142,17 +142,19 @@ geocodeByAddress(address, callback)
```

#### address
Type: `String`
Type: `String`,
Required: `true`

String that gets passed to Google Maps Geocoder

#### callback
Type: `function`
Type: `Function`,
Required: `true`

Two arguments will be passed to the callback.
First argument is an error object.

First argument is an error object, set to `null` when there's no error.

Second argument is an object with `lat` and `lng` keys


Expand Down

0 comments on commit a6aed94

Please sign in to comment.