@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
29 lines (28 loc) • 758 B
TypeScript
/**
* GenTeaserTitle module.
* @module @massds/mayflower-react/GenTeaserTitle
* @requires module:@massds/mayflower-assets/scss/03-organisms/gen-teaser
*/
import React from 'react';
export interface GenTeaserTitleProps {
/** The heading level of the title */
level?: string | number;
/** The title object (text, info, href) */
title?: {
href?: string;
info?: string;
text?: string;
showFileIcon?: boolean;
className?: string;
details?: string;
icon?: string;
fileIcon?: string;
};
/** React children to render */
children?: React.ReactNode;
}
/**
* Title Link
*/
declare const GenTeaserTitle: (props: GenTeaserTitleProps) => any;
export default GenTeaserTitle;