google-maps-react icon indicating copy to clipboard operation
google-maps-react copied to clipboard

Trivial Documentation Enhancement

Open TheBubbleDuck opened this issue 10 years ago • 3 comments

Might seem small, but clearly lining out the exports might make entry a little easier (especially if NOT coming from the blog post). It could be as easy as just example code

import { Map } from 'google-maps-react';

I get laying them out as 'the components included', but then something like

import { GoogleApiWrapper } from 'GoogleMapsReactComponent'

// ...

export class Container extends React.Component {}

export default GoogleApiWrapper({
  apiKey: __GAPI_KEY__
})(Container)

might get a little confusing since it doesn't reference the repo itself.

TheBubbleDuck avatar Aug 11 '16 12:08 TheBubbleDuck

Ah, @Aourin Wanna take a shot at sending a PR with your proposed updates to the README.md?

auser avatar Aug 11 '16 19:08 auser

sure

TheBubbleDuck avatar Aug 11 '16 19:08 TheBubbleDuck

bump ^^

auser avatar Sep 09 '16 22:09 auser