geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
41 lines • 947 B
TypeScript
export type Member = {
id: string;
name: string;
imageSrc?: string;
alt?: string;
fallback?: string;
};
export type CallHistoryItem = {
type: 'Incoming' | 'Outgoing';
time: number;
name: string;
};
export type Note = {
user: {
image_url?: string;
first_name: string;
last_name: string;
};
note: string;
timestamp: number;
};
export interface AgentSnippetViewProps {
members?: {
list: Member[];
};
servingStates?: string[];
types?: string[];
sharedMarkets?: React.ReactNode;
propertiesAdded?: React.ReactNode;
callHistory?: {
list: CallHistoryItem[];
};
onEditCallNote?: (idx: number) => void;
notes?: {
list: Note[];
};
onAddNote?: () => void;
onNoteSubmit?: (note: string) => void;
onCallNoteSubmit?: (idx: number, note: string) => void;
}
//# sourceMappingURL=agent-snippet-view.types.d.ts.map