Files
firma/lib/types.ts
nabijonovdavronbek619@gmail.com f9d27ec11d new web sayt
2025-11-25 21:06:55 +05:00

40 lines
700 B
TypeScript

export interface ContactPayload {
name: string;
phone: string;
message?: string;
productSlug?: string;
lang?: "uz" | "ru";
}
export interface NavbarProps {
logoSrc?: string;
links?: { id: string; labelKey: string; href: string }[];
}
export interface ShowCaseProps {
titleKey: string;
subtitleKey?: string;
ctaLabelKey: string;
images: string[];
}
export interface ProductCardProps {
product: any;
onViewDetails: (slug: string) => void;
}
export interface ProductViewerProps {
modelUrl?: string;
images?: string[];
autoRotate?: boolean;
}
export interface FaqItem {
questionKey: string;
answerKey: string;
}
export interface FaqProps {
items: FaqItem[];
}