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
118118class MyComponent extends React .Component <Props , State > { ...
119119` ` `
120120
121- #### ` React .ComponentProps < typeof Component >
121+ #### ` React .ComponentProps <typeof Component >`
122122Gets component Props type. You don't no need to export Props from your component ever!
123123` ` ` tsx
124124type MyComponentProps = React .ComponentProps < typeof MyComponent > ;
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ Type representing a class component
118118class MyComponent extends React .Component <Props , State > { ...
119119` ` `
120120
121- #### ` React .ComponentProps < typeof Component >
121+ #### ` React .ComponentProps <typeof Component >`
122122Gets component Props type. You don't no need to export Props from your component ever!
123123` ` ` tsx
124124type MyComponentProps = React .ComponentProps < typeof MyComponent > ;
You can’t perform that action at this time.
0 commit comments