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