UNPKG

889 BTypeScriptView Raw
1import * as React from 'react';
2export interface IconProps extends Omit<React.HTMLProps<SVGElement>, 'size'> {
3 /** Changes the color of the icon. */
4 color?: string;
5}
6export interface EmptyStateIconProps extends IconProps {
7 /** Additional classes added to the EmptyState */
8 className?: string;
9 /** Icon component to be rendered inside the EmptyState on icon variant
10 * Usually a CheckCircleIcon, ExclamationCircleIcon, LockIcon, PlusCircleIcon, RocketIcon
11 * SearchIcon, or WrenchIcon */
12 icon?: React.ComponentType<any>;
13 /** Component to be rendered inside the EmptyState on container variant */
14 component?: React.ComponentType<any>;
15 /** Adds empty state icon variant styles */
16 variant?: 'icon' | 'container';
17}
18export declare const EmptyStateIcon: React.FunctionComponent<EmptyStateIconProps>;
19//# sourceMappingURL=EmptyStateIcon.d.ts.map
\No newline at end of file