import React from "react";
import classNames from "classnames";
const typeToClassName = (iconType) => ({
    left: "fa-backward",
    reset: "fa-play",
    right: "fa-forward",
    zoomIn: "fa-plus",
    zoomOut: "fa-minus",
    resize: "fa-sort",
    lineChart: "fa-chart-line",
    areaChart: "fa-chart-area",
    noChart: "fa-chart-area",
    loading: "fa-sync-alt",
    noData: "fa-exclamation-triangle",
}[iconType]);
export const Icon = ({ iconType }) => (React.createElement("i", { className: classNames("fas", typeToClassName(iconType)) }));
//# sourceMappingURL=icon.js.map