Skip to content

Commit cead0ea

Browse files
Import ReactNode
1 parent db67d93 commit cead0ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/ql-vscode/src/view/common/DataGrid.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from "react";
2-
import { forwardRef } from "react";
2+
import { ReactNode, forwardRef } from "react";
33
import { styled } from "styled-components";
44

55
/*
@@ -21,7 +21,7 @@ const StyledDataGrid = styled.div<{ $gridTemplateColumns: string | number }>`
2121

2222
interface DataGridProps {
2323
gridTemplateColumns: string;
24-
children: React.ReactNode;
24+
children: ReactNode;
2525
}
2626

2727
export function DataGrid({ gridTemplateColumns, children }: DataGridProps) {
@@ -50,7 +50,7 @@ const StyledDataGridRow = styled.div<{ $focused?: boolean }>`
5050

5151
interface DataGridRowProps {
5252
focused?: boolean;
53-
children: React.ReactNode;
53+
children: ReactNode;
5454
"data-testid"?: string;
5555
}
5656

@@ -84,7 +84,7 @@ interface DataGridCellProps {
8484
gridRow?: string | number;
8585
gridColumn?: string | number;
8686
className?: string;
87-
children: React.ReactNode;
87+
children: ReactNode;
8888
}
8989

9090
export function DataGridCell({

0 commit comments

Comments
 (0)