import ReportProblemOutlinedIcon from '../../../../../node_modules/@mui/icons-material/esm/ReportProblemOutlined.mjs';
import wn from '../../../../../node_modules/preact/compat/dist/compat.module.mjs';
import { Typography } from './Typography.mjs';
import styled from '../../../../../node_modules/@mui/material/styles/styled.mjs';

const StyledAlert = styled('div')(({ theme })=>({
        color: theme.styleConfig.colors.primary,
        padding: theme.spacing(1.5, 3),
        backgroundColor: theme.styleConfig.colors.accent,
        display: 'flex',
        alignItems: 'center',
        gap: theme.spacing(1)
    }));
const Alert = ({ children })=>{
    return /*#__PURE__*/ wn.createElement(StyledAlert, null, /*#__PURE__*/ wn.createElement(ReportProblemOutlinedIcon, {
        style: {
            fontSize: 16
        }
    }), /*#__PURE__*/ wn.createElement(Typography, {
        variant: "body2"
    }, children));
};

export { Alert };
//# sourceMappingURL=Alert.mjs.map
