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.
1 parent 11266dc commit 7c534bcCopy full SHA for 7c534bc
src/Body/MeasureRow.tsx
@@ -38,7 +38,10 @@ const MeasureRow: React.FC<MeasureRowProps> = ({
38
const column = columns.find(col => col.key === columnKey);
39
const rawTitle = column?.title;
40
const titleForMeasure = React.isValidElement(rawTitle)
41
- ? React.cloneElement(rawTitle, { ref: null })
+ ? React.cloneElement(
42
+ rawTitle as React.ReactElement<any & React.RefAttributes<typeof rawTitle>>,
43
+ { ref: null },
44
+ )
45
: rawTitle;
46
return (
47
<MeasureCell
0 commit comments