@qite/tide-booking-component
Version:
React Booking wizard & Booking product component for Tide
27 lines (25 loc) • 453 B
text/typescript
export type HeaderMedia =
| {
type: 'video';
src: string;
}
| {
type: 'image';
src: string;
alt: string;
}
| {
type: 'slider';
images: string[];
mode?: 'auto' | 'manual';
path?: string;
};
export interface HeaderProps {
media: HeaderMedia;
small?: boolean;
title: string;
description: string;
showButton?: boolean;
buttonText?: string;
onButtonClick?: () => void;
}