Skip to content

Commit 66de823

Browse files
VasilyStrelyaevkirovboris
authored andcommitted
Update the withKey method description
1 parent 1c9c6fd commit 66de823

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ const itemsCount = ReactSelector('TodoApp div span');
6767
Warning: if you specify a DOM element's tag name, React selectors search for the element among the component's children without looking into nested components. For instance, for the JSX above the `ReactSelector('TodoApp div')` selector will be equal to `Selector('.todo-app > div')`.
6868

6969
#### Selecting components by the component key
70-
To obtain a component by the key use `withKey` method.
70+
71+
To obtain a component by its key, use the `withKey` method.
7172

7273
```js
7374
import { ReactSelector } from 'testcafe-react-selectors';

0 commit comments

Comments
 (0)