import { jsx as _jsx } from "react/jsx-runtime";
import { BooleanIcon, FilterIcon, NumberIcon, StringIcon, TimeIcon } from '@cube-dev/ui-kit';
import { QuestionCircleOutlined } from '@ant-design/icons';
const ICON_MAP = {
    number: _jsx(NumberIcon, {}),
    string: _jsx(StringIcon, {}),
    time: _jsx(TimeIcon, {}),
    boolean: _jsx(BooleanIcon, {}),
    filter: _jsx(FilterIcon, {}),
};
export function getTypeIcon(type) {
    return (ICON_MAP[type] || (_jsx(QuestionCircleOutlined, { style: { fontSize: 'var(--icon-size)' } })));
}
//# sourceMappingURL=get-type-icon.js.map