Skip to content

Commit

Permalink
docs(gatsby-plugin-google-analytics): Fixing super tiny issue in READ…
Browse files Browse the repository at this point in the history
…ME (#21597)

* Fixing super tiny issue in README

* chore: format

* Update README.md

Co-authored-by: GatsbyJS Bot <mathews.kyle+gatsbybot@gmail.com>
Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
  • Loading branch information
3 people authored Feb 20, 2020
1 parent 44cb592 commit b1b89e0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/gatsby-plugin-google-analytics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,16 @@ the plugin provides a component.
To use it, simply import it and use it like you would the `<a>` element e.g.

```jsx
import React
import { OutboundLink } from 'gatsby-plugin-google-analytics'
import React from "react"
import { OutboundLink } from "gatsby-plugin-google-analytics"

export default () => {
export default () => (
<div>
<OutboundLink
href="https://www.gatsbyjs.org/packages/gatsby-plugin-google-analytics/"
>
<OutboundLink href="https://www.gatsbyjs.org/packages/gatsby-plugin-google-analytics/">
Visit the Google Analytics plugin page!
</OutboundLink>
</div>
}
)
```

## Options
Expand Down

0 comments on commit b1b89e0

Please sign in to comment.