File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ Type representing a class component
118
118
class MyComponent extends React .Component <Props , State > { ...
119
119
` ` `
120
120
121
- #### ` React .ComponentProps < typeof Component >
121
+ #### ` React .ComponentProps <typeof Component >`
122
122
Gets component Props type. You don't no need to export Props from your component ever!
123
123
` ` ` tsx
124
124
type MyComponentProps = React .ComponentProps < typeof MyComponent > ;
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ Type representing a class component
118
118
class MyComponent extends React .Component <Props , State > { ...
119
119
` ` `
120
120
121
- #### ` React .ComponentProps < typeof Component >
121
+ #### ` React .ComponentProps <typeof Component >`
122
122
Gets component Props type. You don't no need to export Props from your component ever!
123
123
` ` ` tsx
124
124
type MyComponentProps = React .ComponentProps < typeof MyComponent > ;
You can’t perform that action at this time.
0 commit comments