From 732e9e246313159db9647f9257150793c2251e78 Mon Sep 17 00:00:00 2001 From: sh4dow Date: Mon, 22 Apr 2019 06:50:07 -0700 Subject: [PATCH] Update README - no generics for ReactElement Fixes #161 --- README.md | 2 +- README_SOURCE.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aaba05f..dcab887 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ const withState =

( ) => { ... ``` -#### `React.ReactElement

` or `JSX.Element` +#### `React.ReactElement` or `JSX.Element` Type representing a concept of React Element - representation of a native DOM component (e.g. `

`), or a user-defined composite component (e.g. ``) ```tsx const elementOnly: React.ReactElement =
|| ; diff --git a/README_SOURCE.md b/README_SOURCE.md index 5457711..fcfc652 100644 --- a/README_SOURCE.md +++ b/README_SOURCE.md @@ -149,7 +149,7 @@ const withState =

( ) => { ... ``` -#### `React.ReactElement

` or `JSX.Element` +#### `React.ReactElement` or `JSX.Element` Type representing a concept of React Element - representation of a native DOM component (e.g. `

`), or a user-defined composite component (e.g. ``) ```tsx const elementOnly: React.ReactElement =
|| ;