UNPKG

763 BTypeScriptView Raw
1import * as React from 'react';
2export declare const variantIcons: {
3 success: React.ComponentClass<any, any>;
4 danger: React.ComponentClass<any, any>;
5 warning: React.ComponentClass<any, any>;
6 info: React.ComponentClass<any, any>;
7 default: React.ComponentClass<any, any>;
8};
9export interface AlertIconProps extends React.HTMLProps<HTMLDivElement> {
10 /** variant */
11 variant: 'success' | 'danger' | 'warning' | 'info' | 'default';
12 /** className */
13 className?: string;
14 /** A custom icon. If not set the icon is set according to the variant */
15 customIcon?: React.ReactNode;
16}
17export declare const AlertIcon: ({ variant, customIcon, className, ...props }: AlertIconProps) => JSX.Element;
18//# sourceMappingURL=AlertIcon.d.ts.map
\No newline at end of file