import React from 'react'; import MdAlertMessage from './MdAlertMessage'; export interface MdInfoBoxProps extends React.HTMLAttributes { label: string; hideIcon?: boolean; fullWidth?: boolean; customIcon?: React.ReactNode | string; } export const MdInfoBox: React.FC = ({ label, hideIcon = false, fullWidth = false, customIcon, className, ...otherProps }: MdInfoBoxProps) => { // eslint-disable-next-line no-console console.warn( 'MdInfoBox is deprecated and will be removed in a future release. Use MdAlertMessage with theme="info-box" instead.', ); return ( ); }; export default MdInfoBox;