Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jepser authored Nov 18, 2019
1 parent 0aead73 commit 2f329f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The Tracking library for React.

## Installation
1. Install it by running `npm i --save treacker` or `yarn add treacker`
2. Use it with [vanilla JS](#for+vainilla) or [React](#for-react)
2. Use it with [vanilla JS](#for+vanilla) or [React](#for-react)

## Example
You can find an example in [this codesandbox](https://codesandbox.io/s/sharp-rain-jr0m6?fontsize=14).
Expand All @@ -15,7 +15,7 @@ Check [my post](https://dev.to/jepser/hello-treacker-a-tracking-library-for-reac

# Docs

## For Vainilla
## 🍦For Vanilla

``` js
import { trackingManager } from 'treacker'
Expand Down Expand Up @@ -122,7 +122,7 @@ console.log(tracking.getParams())

```

## For React
## ⚛️ For React
The library uses internally React's Context architecture.

### 1. Create a provider with `TrackingProvider`
Expand Down

0 comments on commit 2f329f4

Please sign in to comment.