Skip to content

Commit 6c8631e

Browse files
committed
clarify examples
1 parent 7b78c41 commit 6c8631e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { Provider, inject } from 'react-tunnel'
4646
//using object provide
4747
render() {
4848
return (
49-
<Provider provide={{thing: "will be provided", anotherThing:"will also be provided"}}>
49+
<Provider provide={{thing: "one", anotherThing: 2}}>
5050
{(function () {
5151
return <Anything>
5252
})}
@@ -91,7 +91,7 @@ var InjectedChild = inject(mapProvidedToProps)(SomeChild);
9191
render() {
9292
var injectedProp = this.props.that;
9393
return <span>{injectedProp}</span>;
94-
//will render as <span>will be provided</span>
94+
//will render as <span>one</span>
9595
}
9696
```
9797

0 commit comments

Comments
 (0)