UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

52 lines (51 loc) 1.39 kB
/** * ImagePromo module. * @module @massds/mayflower-react/ImagePromo * @requires module:@massds/mayflower-assets/scss/02-molecules/image-promo * @requires module:@massds/mayflower-assets/scss/02-molecules/org-info * @requires module:@massds/mayflower-assets/scss/01-atoms/decorative-link * @requires module:@massds/mayflower-assets/scss/01-atoms/image * @requires module:@massds/mayflower-assets/scss/01-atoms/svg-icons * @requires module:@massds/mayflower-assets/scss/01-atoms/svg-loc-icons */ import React from 'react'; export interface ImagePromoProps { title?: { level?: number; href: string; text: string; }; tags?: { id: string; label?: string; icon?: React.ReactElement; }[]; image?: { src?: string; alt?: string; width?: number; height?: number; }; /** Stack image and details */ stacked?: boolean; /** Stack image and details */ small?: boolean; /** Add a subtitle field below title */ subTitle?: string; description?: string; link?: { text?: string; href?: string; info?: string; }; location?: { text?: string; map?: boolean; }; phone?: { text: string; href?: string; }; } declare const ImagePromo: (props: ImagePromoProps) => any; export default ImagePromo;