@helpwave/hightide
Version:
helpwave's component and theming library
24 lines (21 loc) • 924 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsForTranslation } from '../../localization/useTranslation.mjs';
import { FormTranslationType } from '../../localization/defaults/form.mjs';
import '../../localization/util.mjs';
type TextImageColor = 'primary' | 'secondary' | 'dark';
type TextImageTranslation = FormTranslationType;
type TextImageProps = {
title: string;
description: string;
imageUrl: string;
onShowMoreClicked?: () => void;
color?: TextImageColor;
badge?: string;
contentClassName?: string;
className?: string;
};
/**
* A Component for layering a Text upon an image
*/
declare const TextImage: ({ overwriteTranslation, title, description, imageUrl, onShowMoreClicked, color, badge, contentClassName, className, }: PropsForTranslation<TextImageTranslation, TextImageProps>) => react_jsx_runtime.JSX.Element;
export { TextImage, type TextImageProps };