File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/view/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,9 +24,7 @@ interface DataGridProps {
2424 children : React . ReactNode ;
2525}
2626
27- export function DataGrid ( props : DataGridProps ) {
28- const { gridTemplateColumns, children } = props ;
29-
27+ export function DataGrid ( { gridTemplateColumns, children } : DataGridProps ) {
3028 return (
3129 < StyledDataGrid $gridTemplateColumns = { gridTemplateColumns } >
3230 { children }
@@ -66,9 +64,12 @@ interface DataGridCellProps {
6664 children : React . ReactNode ;
6765}
6866
69- export function DataGridCell ( props : DataGridCellProps ) {
70- const { gridRow, gridColumn, className, children } = props ;
71-
67+ export function DataGridCell ( {
68+ gridRow,
69+ gridColumn,
70+ className,
71+ children,
72+ } : DataGridCellProps ) {
7273 return (
7374 < StyledDataGridCell
7475 $gridRow = { gridRow }
You can’t perform that action at this time.
0 commit comments