1 import type { ReactNode } from 'react';
3 import clsx from '@proton/utils/clsx';
8 illustrationClassName?: string;
13 titleSize?: 'regular' | 'big';
16 const IllustrationPlaceholder = ({
19 illustrationClassName,
27 <div className={clsx('flex *:min-size-auto flex-column flex-nowrap items-center w-full', className)}>
28 <img src={url} alt={title} className={clsx('p-1 mb-4', illustrationClassName)} height={height} />
32 'text-bold text-rg mb-1',
33 titleSize === 'regular' && 'text-rg',
34 titleSize === 'big' && 'text-4xl',
35 uppercase && 'text-uppercase'
46 export default IllustrationPlaceholder;