Skip to content
This repository has been archived by the owner on Sep 20, 2018. It is now read-only.

Commit

Permalink
Merge pull request #18 from ctrlplusb/master
Browse files Browse the repository at this point in the history
FIXED: README.md code sample in "'ref' style querying" section.
  • Loading branch information
jquense committed Jan 14, 2016
2 parents 8762354 + b031eb7 commit 2587e23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ component's "real" props. In this example lets use `_testID`.
```js
let Greeting = props => <div>hello <strong _testID='name'>{props.name}</strong></div>;

$(Greeting).render()
.prop({ name: 'Betty' })
$(<Greeting name='Betty' />)
.render()
.find('[_testID=name]')
.text()
.should.equal('Betty')
Expand Down

0 comments on commit 2587e23

Please sign in to comment.