40 lines
700 B
TypeScript
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[];
|
|
}
|