UNPKG

@longears-mobile/rcs-client-mockup

Version:

A React smartphone preview components for RCS client mockups.

14 lines (13 loc) 672 B
/// <reference types="react" /> import { RichCardCarouselProps } from '../../types'; /** * RichCardCarousel component to display multiple RichCards in a horizontal layout. * * @component * @param {RichCardCarouselProps} props - The props for the component. * @param {Array} props.cards - Array of RichCardProps to display in the carousel. * @param {'small' | 'medium'} [props.width='medium'] - Width option for cards: 'small' (120 DP) or 'medium' (232 DP). * @returns {JSX.Element | null} The rendered RichCardCarousel component or null if no cards are provided. */ declare const RichCardCarousel: React.FC<RichCardCarouselProps>; export default RichCardCarousel;