Skip to content
This repository was archived by the owner on Nov 23, 2021. It is now read-only.

Commit 87c7e64

Browse files
Hypnosphijamiebuilds
authored andcommitted
Update README.md
1 parent 002a36e commit 87c7e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class Title extends React.Component<{ children: Node }> {
7474

7575
## Usage with React 15 and below
7676

77-
`Provider` just returns its children in its `render` method, and `Consumer` returns the result of child function call. This means that whatever value you give as `Provider` children, or return from `Consumer` child function, it should be a valid `render` return type for your current React version. For React 15, it includes React element, boolean, or null, but doesn't include fragments (arrays), strings, or numbers.
77+
`Provider` just returns its children in its `render` method, and `Consumer` returns the result of child function call. This means that whatever value you give as `Provider` children, or return from `Consumer` child function, it should be a valid `render` return type for your current React version. For React 15, it includes React element, boolean, and null, but doesn't include fragments (arrays), strings, or numbers.
7878

7979

8080
```js

0 commit comments

Comments
 (0)