We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cac9efa commit 48f719fCopy full SHA for 48f719f
extensions/ql-vscode/src/view/common/DataGrid.tsx
@@ -51,11 +51,17 @@ interface DataGridRowProps {
51
focused?: boolean;
52
children: React.ReactNode;
53
ref?: React.Ref<HTMLElement | undefined>;
54
+ "data-testid"?: string;
55
}
56
-export function DataGridRow({ focused, children, ref }: DataGridRowProps) {
57
+export function DataGridRow(props: DataGridRowProps) {
58
+ const { focused, children, ref } = props;
59
return (
- <StyledDataGridRow $focused={focused} ref={ref}>
60
+ <StyledDataGridRow
61
+ $focused={focused}
62
+ ref={ref}
63
+ data-testid={props["data-testid"]}
64
+ >
65
{children}
66
</StyledDataGridRow>
67
);
0 commit comments