TablePanel: Default cell height should be small (#64611)

* TablePanel: Default cell height should be small

* Component default
This commit is contained in:
Torkel Ödegaard
2023-03-13 08:12:46 +01:00
committed by GitHub
parent e555b4e93e
commit abbae80b5e
3 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ export const Table = memo((props: Props) => {
showTypeIcons,
footerValues,
enablePagination,
cellHeight = TableCellHeight.Md,
cellHeight = TableCellHeight.Sm,
} = props;
const listRef = useRef<VariableSizeList>(null);

View File

@@ -46,7 +46,7 @@ composableKinds: PanelCfg: {
reducer: []
}
// Controls the height of the rows
cellHeight?: ui.TableCellHeight | *"md"
cellHeight?: ui.TableCellHeight | *"sm"
} @cuetsy(kind="interface")
},
]

View File

@@ -44,7 +44,7 @@ export interface PanelOptions {
}
export const defaultPanelOptions: Partial<PanelOptions> = {
cellHeight: ui.TableCellHeight.Md,
cellHeight: ui.TableCellHeight.Sm,
footer: {
/**
* Controls whether the footer should be shown