import { AlertCircleIcon } from "lucide-react"; import type { ReactNode } from "react"; export interface InfoWrapperProps { label?: string; description?: string; error?: string; children: ReactNode; } export const InfoWrapper = ({ label, description, error, children }: InfoWrapperProps): JSX.Element => { return (
{description}
)} {error &&{error}
}