Skip to content

Commit

Permalink
fix(es6): const in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xcarpentier committed Jun 2, 2016
1 parent e6d93d2 commit 184aa8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -40,7 +40,7 @@ import {
} from 'react-native';

import Slack from 'react-native-slack-webhook';
import {webhookURL} from './env';
import { webhookURL } from './env';


class example extends Component {
Expand Down Expand Up @@ -89,8 +89,8 @@ AppRegistry.registerComponent('example', () => example);

This lib need a webhook url, details here : https://api.slack.com/incoming-webhooks.
```JavaScript
let webhookURL = '<your webhook URL provided by Slack, ie. Incoming WebHooks>'
let Slack = new Slack(webhookURL)
const webhookURL = '<your webhook URL provided by Slack, ie. Incoming WebHooks>'
const Slack = new Slack(webhookURL)
```
### Example

Expand Down

0 comments on commit 184aa8c

Please sign in to comment.