export const getIcon = variant => {
  const icons = {
    default: 'fa-lightbulb',
    success: 'fa-check',
    info: 'fa-info-circle',
    warning: 'fa-exclamation-triangle',
    alert: 'fa-exclamation-triangle',
  };

  return icons[variant] || icons['default'];
};

export const getElementClass = (variant, size = 'default') => {
  return {
    'spw-message': true,
    [`spw-message--${variant}`]: true,
    [`spw-message--${size}`]: true,
  };
};
