import { ModalSectionContainer } from "./modal-section-container";

interface ModalErrorBannerProps {
	error: string;
}

export function ModalErrorBanner({
	error,
}: ModalErrorBannerProps): React.JSX.Element {
	return (
		<div className="kiro-modal-error-banner">
			<i className="codicon codicon-error" />
			<span>{error}</span>
		</div>
	);
}
