From 4504f176c58681287550bda5f487b044bc730c09 Mon Sep 17 00:00:00 2001 From: Pascal Wegner Date: Wed, 7 Apr 2021 16:23:31 +0200 Subject: [PATCH] Fix typo in docs/introduction --- docs/Introduction.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Introduction.mdx b/docs/Introduction.mdx index e930096..05013fb 100644 --- a/docs/Introduction.mdx +++ b/docs/Introduction.mdx @@ -5,7 +5,7 @@ route: / # Introduction ## The problem -There cases when you want to check if a value is a React component. You might even want it to be typeguarded. Checking for React components isn't trivial at all. For example it depends on which JavaScript syntax you're using. +There may be cases when you want to check if a value is a React component. You might even want it to be typeguarded. Checking for React components isn't trivial at all. For example it depends on which JavaScript syntax you're using. ## The solution `react-type-check` checks if the value is some sort of a React component and also tells TypeScript if it is. ## Getting started @@ -49,4 +49,4 @@ if (isReactComponent(maybeRC)) { } else { const notRC: string = maybeRC; } -``` \ No newline at end of file +```