Debian Codegraph @

node/@patternfly/react-core/dist/esm/components/Title/Title.d.ts

raw
1 /// <reference types="react" />
2 import { OUIAProps } from '../../helpers';
3 export declare enum TitleSizes {
4 md = "md",
5 lg = "lg",
6 xl = "xl",
7 '2xl' = "2xl",
8 '3xl' = "3xl",
9 '4xl' = "4xl"
10 }
11 type Size = 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl';
12 export interface TitleProps extends Omit<React.HTMLProps<HTMLHeadingElement>, 'size' | 'className'>, OUIAProps {
13 /** The size of the Title */
14 size?: Size;
15 /** Content rendered inside the Title */
16 children?: React.ReactNode;
17 /** Additional classes added to the Title */
18 className?: string;
19 /** The heading level to use */
20 headingLevel: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
21 /** Value to overwrite the randomly generated data-ouia-component-id.*/
22 ouiaId?: number | string;
23 /** Set the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false. */
24 ouiaSafe?: boolean;
25 }
26 export declare const Title: React.FunctionComponent<TitleProps>;
27 export {};
28 //# sourceMappingURL=Title.d.ts.map