UNPKG

@qite/tide-booking-component

Version:

React Booking wizard & Booking product component for Tide

30 lines (29 loc) 886 B
import React from 'react'; type Variant = 'image-with-text__card--no-card' | 'image-with-text__card--full-img'; interface ImageWithTextCardProps { variant?: Variant; reverse?: boolean; imageSrc: string; imageAlt: string; title: string; activityTitle: string; activityText: string; detailsTitle: string; detailsText: string; buttonText: string; onButtonClick?: () => void; } interface ImageWithTextSectionProps { variant?: Variant; sectionTitle: string; hasBackground?: boolean; cards: [Omit<ImageWithTextCardProps, 'reverse'>, Omit<ImageWithTextCardProps, 'reverse'>]; } export declare const ImageWithTextSection: React.FC<ImageWithTextSectionProps>; interface ImageWithTextProps { sectionTitle?: string; variants?: Variant[]; hasBackground?: boolean; } export declare const ImageWithText: React.FC<ImageWithTextProps>; export default ImageWithText;