import type React from "react"; import { ExclamationCircleIcon } from "@heroicons/react/24/outline"; export interface InfoWrapperProps { label?: string; description?: string; error?: string; children: React.ReactNode; } export const InfoWrapper = ({ label, description, error, children }: InfoWrapperProps): JSX.Element => { return (
{description}
)} {error &&{error}
}