var _WarningRoundedIcon;
import * as React from 'react';
import Alert from '@mui/material/Alert';
import WarningRoundedIcon from '@mui/icons-material/WarningRounded';
import { jsx as _jsx } from "react/jsx-runtime";
export function ApiWarningAlert({
  children,
  className
}) {
  return /*#__PURE__*/_jsx(Alert, {
    severity: "warning",
    className: className,
    icon: _WarningRoundedIcon || (_WarningRoundedIcon = /*#__PURE__*/_jsx(WarningRoundedIcon, {
      fontSize: "small"
    })),
    sx: {
      fontSize: '0.875rem',
      mt: '12px'
    },
    children: children
  });
}