Skip to content

Commit 4504f17

Browse files
authored
Fix typo in docs/introduction
1 parent c8d00cb commit 4504f17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Introduction.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ route: /
55

66
# Introduction
77
## The problem
8-
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.
8+
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.
99
## The solution
1010
`react-type-check` checks if the value is some sort of a React component and also tells TypeScript if it is.
1111
## Getting started
@@ -49,4 +49,4 @@ if (isReactComponent(maybeRC)) {
4949
} else {
5050
const notRC: string = maybeRC;
5151
}
52-
```
52+
```

0 commit comments

Comments
 (0)