@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
23 lines (22 loc) • 783 B
TypeScript
/**
* GenTeaserContainer module.
* @module @massds/mayflower-react/GenTeaserContainer
* @requires module:@massds/mayflower-assets/scss/03-organisms/gen-teaser
*/
import React from 'react';
export interface GenTeaserContainerProps {
/** A custom on click function */
onClick?(...args: unknown[]): unknown;
/** A custom on key down function */
onKeyDown?(...args: unknown[]): unknown;
/** React children to render */
children?: React.ReactNode;
/** whether to stack image on top */
stacked?: boolean;
/** alignment for description relative to image */
align?: "top" | "center";
/** A custom class. */
className?: string;
}
declare const GenTeaserContainer: (props: GenTeaserContainerProps) => any;
export default GenTeaserContainer;