HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/www/wp-content/plugins/give/src/Views/Components/ListTable/BlankSlate/index.tsx
import {__} from '@wordpress/i18n';
import styles from './BlankSlate.module.scss';

interface BlankSlateProps {
    imagePath: string;
    description: string;
    href: string;
    linkText: string;
}

export default function BlankSlate({imagePath, description, href, linkText}: BlankSlateProps) {
    return (
        <div className={styles.container}>
            <img src={imagePath} alt={description} />
            <h3>{description}</h3>
            <p className={styles.helpMessage}>
                {__('Need help? Learn more about', 'give')}{' '}
                <a target="_blank" href={href}>
                    {linkText}
                </a>
            </p>
        </div>
    );
}