Skip to content

Commit 533ea05

Browse files
committed
Added missing quote
1 parent 36189a1 commit 533ea05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Type representing a class component
118118
class MyComponent extends React.Component<Props, State> { ...
119119
```
120120
121-
#### `React.ComponentProps<typeof Component>
121+
#### `React.ComponentProps<typeof Component>`
122122
Gets component Props type. You don't no need to export Props from your component ever!
123123
```tsx
124124
type MyComponentProps = React.ComponentProps<typeof MyComponent>;

README_SOURCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Type representing a class component
118118
class MyComponent extends React.Component<Props, State> { ...
119119
```
120120
121-
#### `React.ComponentProps<typeof Component>
121+
#### `React.ComponentProps<typeof Component>`
122122
Gets component Props type. You don't no need to export Props from your component ever!
123123
```tsx
124124
type MyComponentProps = React.ComponentProps<typeof MyComponent>;

0 commit comments

Comments
 (0)