17 lines
306 B
TypeScript
17 lines
306 B
TypeScript
export interface LatestItem {
|
|
id: string | number;
|
|
title: string;
|
|
subtitle: string;
|
|
amount: string;
|
|
timeAgo: string;
|
|
}
|
|
|
|
export interface LatestItemsViewProps {
|
|
items: LatestItem[];
|
|
header: string;
|
|
accentColor: string;
|
|
canExpand: boolean;
|
|
onExpand: () => void;
|
|
isFetching?: boolean;
|
|
}
|