import React from 'react';
import { InformationCircleIcon, CheckIcon, ExclamationTriangleIcon, ExclamationCircleIcon, } from '@heroicons/react/24/outline';
const Icon = ({ type }) => (React.createElement(React.Fragment, null,
    type === 'informational' && React.createElement(InformationCircleIcon, { className: 'mr-2 h-[18px] w-[18px]', "aria-hidden": 'true' }),
    type === 'success' && React.createElement(CheckIcon, { className: 'mr-2 h-[18px] w-[18px]', "aria-hidden": 'true' }),
    type === 'warning' && React.createElement(ExclamationTriangleIcon, { className: 'mr-2 h-[18px] w-[18px]', "aria-hidden": 'true' }),
    type === 'danger' && React.createElement(ExclamationCircleIcon, { className: 'mr-2 h-[18px] w-[18px]', "aria-hidden": 'true' })));
export default Icon;
//# sourceMappingURL=Icon.js.map