noogle/types/basicDataView.ts
2022-11-27 14:16:52 +01:00

12 lines
238 B
TypeScript

import React from "react";
export type BasicDataItem = {
item: React.ReactNode;
key: string;
};
export type BasicDataViewProps = {
items: BasicDataItem[];
pageCount?: number;
handleSearch?: (term: string) => void;
};