Skip to content

Commit

Permalink
[docs] selectors: update re displayName
Browse files Browse the repository at this point in the history
Closes #1926.
  • Loading branch information
kii-dot authored and ljharb committed Dec 8, 2018
1 parent 1dd6c4f commit 8573343
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api/selector.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const myComponents = wrapper.find('My Component');

NOTE: This will *only* work if the selector (and thus the component’s `displayName`) is a string
starting with a capital letter. Strings starting with lower case letters will assume it is a CSS
Selecting a HOC-wrapped component, or a component with a custom `displayName`, even with lowercase letters (for example, `withHOC(MyComponent)`) will work as well.
selector using the tag syntax.


Expand Down

0 comments on commit 8573343

Please sign in to comment.