@ansible/ansible-ui-framework
Version:
A framework for building applications using PatternFly.
10 lines (9 loc) • 341 B
TypeScript
import { ReactNode } from 'react';
type ErrorType = string | ReactNode | (string | ReactNode)[] | null;
interface ErrorAlertProps {
error: ErrorType;
isMd: boolean;
onCancel?: () => void;
}
export declare function ErrorAlert({ error, isMd, onCancel }: ErrorAlertProps): import("react/jsx-runtime").JSX.Element | null;
export {};