import React from "react";
import { CheckmarkCircleFillIcon, ExclamationmarkTriangleFillIcon, InformationSquareFillIcon, XMarkOctagonFillIcon, } from "@navikt/aksel-icons";
const STATUS_ICONS = {
    info: InformationSquareFillIcon,
    success: CheckmarkCircleFillIcon,
    warning: ExclamationmarkTriangleFillIcon,
    error: XMarkOctagonFillIcon,
};
function InlineMessageIcon({ status, }) {
    if (!(status in STATUS_ICONS)) {
        return null;
    }
    const Icon = STATUS_ICONS[status];
    return React.createElement(Icon, { className: "aksel-inline-message__icon", "aria-hidden": true });
}
export { InlineMessageIcon };
//# sourceMappingURL=InlineMessageIcon.js.map