chore: Change name from SafeReactNode to StrictReactNode

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-15 11:56:30 -04:00
1 parent e88de58b5d
commit d8823085a8
75 files changed
+219 -210

No files matched your search

@@ -4,7 +4,7 @@
*/
import type { KubeObject } from "@k8slens/kube-object";
import type { SafeReactNode } from "@k8slens/utilities";
import type { StrictReactNode } from "@k8slens/utilities";
import type { TableSortCallback, SearchFilter, TableCellProps } from "./list-layout-column";
export interface BaseKubeObjectListLayoutColumn<K extends KubeObject> {
@@ -13,7 +13,7 @@ export interface BaseKubeObjectListLayoutColumn<K extends KubeObject> {
sortingCallBack?: TableSortCallback<K>;
searchFilter?: SearchFilter<K>;
header: TableCellProps | undefined | null;
content: (item: K) => SafeReactNode | TableCellProps;
content: (item: K) => StrictReactNode | TableCellProps;
}
export interface GeneralKubeObjectListLayoutColumn extends BaseKubeObjectListLayoutColumn<KubeObject> {
@@ -3,7 +3,7 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import type { SafeReactNode, SingleOrMany } from "@k8slens/utilities";
import type { StrictReactNode, SingleOrMany } from "@k8slens/utilities";
export interface ItemObject {
getId: () => string;
@@ -36,7 +36,7 @@ export interface TableCellProps extends React.DOMAttributes<HTMLDivElement> {
/**
* The actual value of the cell
*/
title?: SafeReactNode;
title?: StrictReactNode;
/**
* content inside could be scrolled