Skip to content

Commit 6dfbc67

Browse files
authored
docs: add note about new APIs in v1.4 (#76)
1 parent 0e47320 commit 6dfbc67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,14 @@ A method returning an array of `ReactTestInstance`s with matching props object.
5959

6060
### `getByType: (type: React.ComponentType<*>)`
6161

62+
> Note: added in v1.4
63+
6264
A method returning a `ReactTestInstance` with matching a React component type. Throws when no matches.
6365

6466
### `getAllByType: (type: React.ComponentType<*>)`
6567

68+
> Note: added in v1.4
69+
6670
A method returning an array of `ReactTestInstance`s with matching a React component type.
6771

6872
### `[DEPRECATED] getByName: (name: React.ComponentType<*>)`

0 commit comments

Comments
 (0)