We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7422935 + 3c4e5c5 commit 3c3741eCopy full SHA for 3c3741e
2 files changed
src/components/Column.tsx
@@ -12,7 +12,7 @@ const markAsColumn = (node: React.FC) => {
12
node.__isColumn__ = true;
13
};
14
15
-const from = <T extends React.ComponentProps<typeof Column>>(Component: React.FC<T>) => {
+const from = <T extends React.FC<any>>(Component: T) => {
16
// @ts-expect-error: this_is_fine.png
17
Component.__isColumnForwarded__ = true;
18
return Component;
src/components/Row.tsx
@@ -11,7 +11,7 @@ const markAsRow = (node: React.FC) => {
11
node.__isRow__ = true;
-const from = <T extends React.ComponentProps<typeof Row>>(Component: React.FC<T>) => {
Component.__isRowForwarded__ = true;
0 commit comments