mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use @typescript-eslint/semi.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
1 parent
0b182ccf6f
commit
460dfe4d2b
179 files changed
+556
-554
No files matched your search
@@ -15,7 +15,7 @@ export interface TableHeadProps extends React.DOMAttributes<HTMLDivElement> {
|
||||
export class TableHead extends React.Component<TableHeadProps> {
|
||||
static defaultProps: TableHeadProps = {
|
||||
sticky: true,
|
||||
}
|
||||
};
|
||||
|
||||
render() {
|
||||
const { className, sticky, nowrap, showTopLine, children, ...headProps } = this.props;
|
||||
|
||||
@@ -16,7 +16,7 @@ import { ItemObject } from "../../item.store";
|
||||
|
||||
export type TableSortBy = string;
|
||||
export type TableOrderBy = "asc" | "desc" | string;
|
||||
export type TableSortParams = { sortBy: TableSortBy; orderBy: TableOrderBy }
|
||||
export type TableSortParams = { sortBy: TableSortBy; orderBy: TableOrderBy };
|
||||
export type TableSortCallback<D = any> = (data: D) => string | number | (string | number)[];
|
||||
|
||||
export interface TableProps extends React.DOMAttributes<HTMLDivElement> {
|
||||
@@ -51,7 +51,7 @@ export class Table extends React.Component<TableProps> {
|
||||
rowPadding: "8px",
|
||||
rowLineHeight: "17px",
|
||||
sortSyncWithUrl: true,
|
||||
}
|
||||
};
|
||||
|
||||
@observable sortParamsLocal = this.props.sortByDefault;
|
||||
|
||||
|
||||
Reference in new issue
Block a user