Skip to content

Commit

Permalink
Updating readme
Browse files Browse the repository at this point in the history
Larger heading
  • Loading branch information
JacquiManzi committed Jun 9, 2018
1 parent b5ce541 commit ebf3e3c
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion packages/vx-geo/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,29 @@ Same properties as Mercator.

| Name | Default | Type | Description |
|:--------------- |:------------------- |:-------- |:----------------------------------------------------------------------------------------------------------- |
| className | `vx-albers` | string | The class name for the `path` element. |
| className | `vx-albers` | string | The class name for the `path` element. |

## `<NaturalEarth />`

The Natural Earth projection.

### Example

```js
<NaturalEarth
data={myData}
scale={myScale}
translate={[width / 2, height / 2]}
fill={(feature) => '#aaaaaa'}
onClick={data => event => {
alert(`Clicked!`);
}}
/>
```

### Properties
Same properties as Mercator.

| Name | Default | Type | Description |
|:--------------- |:----------------------------- |:-------- |:----------------------------------------------------------------------------------------------------------- |
| className | `vx-geo-naturalEarth` | string | The class name for the `path` element.

0 comments on commit ebf3e3c

Please sign in to comment.