@helpwave/hightide
Version:
helpwave's component and theming library
26 lines (23 loc) • 856 B
text/typescript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsForTranslation } from '../hooks/useTranslation.mjs';
import '../hooks/useLanguage.mjs';
import 'react';
type TextImageColor = 'primary' | 'secondary' | 'dark';
type TextImageTranslation = {
showMore: string;
};
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 a 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 };