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