$19 GRAYBYTE WORDPRESS FILE MANAGER $48

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/home/bravrvjk/itiministry.org/wp-content/plugins/give/src/Admin/components/Header/

HOME
Current File : /home/bravrvjk/itiministry.org/wp-content/plugins/give/src/Admin/components/Header//index.tsx
import React from 'react';
import styles from './styles.module.scss';

/**
 * @since 4.4.0
 */
type HeaderProps = {
    children?: React.ReactNode;
    title: string;
    subtitle?: string;
    href?: string;
    actionText?: string;
    actionOnClick?: () => void;
};

/**
 * @since 4.4.0
 */
export default function Header({title, subtitle, href, actionText, actionOnClick}: HeaderProps) {
    return (
        <header className={styles.header}>
            <div>
                <HeaderText>{title}</HeaderText>
                {subtitle && <SubHeaderText>{subtitle}</SubHeaderText>}
            </div>
            {href && !actionOnClick && (
                <a className={styles.action} href={href} rel={'noreferrer'} aria-label={`${actionText} for ${title}`}>
                    {actionText}
                </a>
            )}
            {actionOnClick && !href && (
                <button className={styles.action} onClick={actionOnClick} aria-label={`${actionText} for ${title}`}>
                    {actionText}
                </button>
            )}
        </header>
    );
}

/**
 * @since 4.4.0
 */
export function HeaderText({children}: {children: React.ReactNode}) {
    return <h2 className={styles.headerText}>{children}</h2>;
}

/**
 * @since 4.4.0
 */
export function SubHeaderText({children}: {children: React.ReactNode}) {
    return <p className={styles.subHeaderText}>{children}</p>;
}


Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2026 1.57 AM
bravrvjk / bravrvjk
0755
index.tsx
1.383 KB
18 Jun 2025 7.01 PM
bravrvjk / bravrvjk
0644
styles.module.scss
1.033 KB
10 Sep 2025 5.42 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF