import wn from '../../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import styled from '../../../../../../node_modules/@mui/material/styles/styled.mjs';
import InfoOutlined from '../../../../../../node_modules/@mui/icons-material/esm/InfoOutlined.mjs';

const Container$1 = styled('div')({
    width: 'fit-content'
});
const InfoIconCore = ({ tooltipText, color, TooltipComponent: Tooltip })=>{
    return /*#__PURE__*/ wn.createElement(Container$1, null, /*#__PURE__*/ wn.createElement(Tooltip, {
        text: tooltipText
    }, /*#__PURE__*/ wn.createElement(InfoOutlined, {
        htmlColor: color ?? 'inherit',
        fontSize: "inherit"
    })));
};

export { InfoIconCore };
//# sourceMappingURL=InfoIcon.mjs.map
