import React from 'react';
import { classNames } from '../types';
export const PHXIcon = ({ alt = 'image', opacity = 'full', rounded = false, size = 'sm', src }) => {
    const sizeMap = {
        sm: 'w-4 h-4',
        md: 'w-5 h-5',
        lg: 'w-6 h-6',
    };
    const opacityMap = {
        full: '',
        medium: 'opacity-60',
        low: 'opacity-30',
    };
    const imageClass = classNames(sizeMap[size], opacityMap[opacity], rounded && 'rounded-full', 'object-contain');
    return React.createElement("img", { alt: alt, className: imageClass, src: src });
};
//# sourceMappingURL=PHXIcon.js.map