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 @@ -12,7 +12,7 @@ const markAsColumn = (node: React.FC) => {
12
12
node . __isColumn__ = true ;
13
13
} ;
14
14
15
- const from = < T extends React . ComponentProps < typeof Column > > ( Component : React . FC < T > ) => {
15
+ const from = < T extends React . FC < any > > ( Component : T ) => {
16
16
// @ts -expect-error: this_is_fine.png
17
17
Component . __isColumnForwarded__ = true ;
18
18
return Component ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const markAsRow = (node: React.FC) => {
11
11
node . __isRow__ = true ;
12
12
} ;
13
13
14
- const from = < T extends React . ComponentProps < typeof Row > > ( Component : React . FC < T > ) => {
14
+ const from = < T extends React . FC < any > > ( Component : T ) => {
15
15
// @ts -expect-error: this_is_fine.png
16
16
Component . __isRowForwarded__ = true ;
17
17
return Component ;
You can’t perform that action at this time.
0 commit comments