Skip to content

Commit 0b2dcc6

Browse files
authored
Add backticks in forbid-prop-types documentation
This is a reference to code, so we should use backticks. I've also changed it to be "PropTypes" instead of "PropType" since that is what you would see in code.
1 parent 10c6f23 commit 0b2dcc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/forbid-prop-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Component extends React.Component {
5050

5151
### `forbid`
5252

53-
An array of strings, with the names of React.PropType keys that are forbidden.
53+
An array of strings, with the names of `React.PropTypes` keys that are forbidden.
5454

5555
## When not to use
5656

0 commit comments

Comments
 (0)