????JFIF??x?x????'
| Server IP : 172.67.174.47  /  Your IP : 216.73.216.83 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/tempvsty/./pontiacques.org/wp-content/plugins/give/src/Views/Components/Label/ | 
| Upload File : | 
import classNames from 'classnames';
import styles from './styles.module.scss';
const Label = ({type, text}) => {
    const labelClasses = classNames(
        styles.label,
        {[styles.error]: type === 'error' || type === 'failed'},
        {[styles.warning]: type === 'warning' || type === 'incomplete'},
        {[styles.notice]: type === 'notice'},
        {[styles.success]: type === 'success'},
        {[styles.info]: type === 'info' || type === 'running'},
        {[styles.http]: type.toUpperCase() === 'HTTP'}
    );
    const labelText = text && text.length > 0 ? text : type.charAt(0).toUpperCase() + type.slice(1);
    return <div className={labelClasses}>{labelText}</div>;
};
export default Label;