Debian Codegraph @

node/@patternfly/react-core/dist/js/components/EmptyState/EmptyStateHeader.d.ts

raw
1 /// <reference types="react" />
2 export declare enum EmptyStateHeadingLevel {
3 h1 = "h1",
4 h2 = "h2",
5 h3 = "h3",
6 h4 = "h4",
7 h5 = "h5",
8 h6 = "h6"
9 }
10 export interface EmptyStateHeaderProps extends React.HTMLProps<HTMLDivElement> {
11 /** Additional classes added to the empty state header */
12 className?: string;
13 /** Additional classes added to the title inside empty state header */
14 titleClassName?: string;
15 /** Text of the title inside empty state header, will be wrapped in headingLevel */
16 titleText?: React.ReactNode;
17 /** Empty state icon element to be rendered. Can also be a spinner component */
18 icon?: React.ComponentType<any>;
19 /** The heading level to use, default is h1 */
20 headingLevel?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
21 }
22 export declare const EmptyStateHeader: React.FunctionComponent<EmptyStateHeaderProps>;
23 //# sourceMappingURL=EmptyStateHeader.d.ts.map