Debian Codegraph @

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

raw
1 /// <reference types="react" />
2 /** The main Hero component that allows adjusting of its background images and gradients in different color modes (such as light and dark). */
3 export interface HeroProps extends Omit<React.HTMLProps<HTMLDivElement>, 'content'> {
4 /** Content of the hero */
5 children?: React.ReactNode;
6 /** Additional classes added to the hero */
7 className?: string;
8 /** Light theme background image path of the hero */
9 backgroundSrcLight?: string;
10 /** Dark theme background image path of the hero */
11 backgroundSrcDark?: string;
12 /** Light theme gradient of the hero, taking any valid CSS color values for each stop property. */
13 gradientLight?: {
14 stop1?: string;
15 stop2?: string;
16 stop3?: string;
17 };
18 /** Dark theme gradient of the hero, taking any valid CSS color values for each stop property. */
19 gradientDark?: {
20 stop1?: string;
21 stop2?: string;
22 stop3?: string;
23 };
24 /** @beta Flag indicating the hero has glass styling when glass theme is applied. */
25 isGlass?: boolean;
26 /** Modifies the width of the hero body. */
27 bodyWidth?: string;
28 /** Modifies the max-width of the hero body. */
29 bodyMaxWidth?: string;
30 }
31 export declare const Hero: React.FunctionComponent<HeroProps>;
32 //# sourceMappingURL=Hero.d.ts.map