| 1 |
/// <reference types="react" /> |
| 2 |
export declare const variantIcons: { |
| 3 |
success: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>; |
| 4 |
danger: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>; |
| 5 |
warning: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>; |
| 6 |
info: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>; |
| 7 |
custom: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>; |
| 8 |
}; |
| 9 |
export interface AlertIconProps extends React.HTMLProps<HTMLDivElement> { |
| 10 |
/** Additional class names added to the alert icon. */ |
| 11 |
className?: string; |
| 12 |
/** A custom icon. If not set the icon is set according to the variant. */ |
| 13 |
customIcon?: React.ReactNode; |
| 14 |
/** Variant of the alert icon. */ |
| 15 |
variant: 'success' | 'danger' | 'warning' | 'info' | 'custom'; |
| 16 |
} |
| 17 |
export declare const AlertIcon: ({ variant, customIcon, className, ...props }: AlertIconProps) => import("react/jsx-runtime").JSX.Element; |
| 18 |
//# sourceMappingURL=AlertIcon.d.ts.map |