Skip to content

Commit

Permalink
[Docs] prop-types: fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
technote-space committed Dec 20, 2020
1 parent 5708ecf commit aa43237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prop-types.md
Expand Up @@ -42,7 +42,7 @@ Hello.propTypes = {
In TypeScript:

```tsx
interface Props = {
interface Props {
age: number
}
function Hello({ name }: Props) {
Expand Down

0 comments on commit aa43237

Please sign in to comment.