noogle/types/basicDataView.ts
2022-11-26 10:36:08 +01:00

12 lines
289 B
TypeScript

export type BasicDataItem = {
item: React.ReactNode;
key: string;
};
export type BasicDataViewProps = {
items: BasicDataItem[];
pageCount?: number;
handleSearch?: (term: string) => void;
};
export type NixType = "attrset" | "list" | "string" | "int" | "bool" | "any";