File: AlertIcon.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (18 lines) | stat: -rw-r--r-- 1,212 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// <reference types="react" />
export declare const variantIcons: {
    success: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
    danger: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
    warning: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
    info: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
    custom: import("react").ComponentClass<import("@patternfly/react-icons/dist/esm/createIcon").SVGIconProps, any>;
};
export interface AlertIconProps extends React.HTMLProps<HTMLDivElement> {
    /** Additional class names added to the alert icon. */
    className?: string;
    /** A custom icon. If not set the icon is set according to the variant. */
    customIcon?: React.ReactNode;
    /** Variant of the alert icon. */
    variant: 'success' | 'danger' | 'warning' | 'info' | 'custom';
}
export declare const AlertIcon: ({ variant, customIcon, className, ...props }: AlertIconProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=AlertIcon.d.ts.map