1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import { css } from '@patternfly/react-styles';
|
4 | import styles from '@patternfly/react-styles/css/components/AboutModalBox/about-modal-box';
|
5 |
|
6 | import c_about_modal_box__hero_sm_BackgroundImage from '@patternfly/react-tokens/dist/esm/c_about_modal_box__hero_sm_BackgroundImage';
|
7 | export const AboutModalBoxHero = (_a) => {
|
8 | var { className, backgroundImageSrc } = _a, props = __rest(_a, ["className", "backgroundImageSrc"]);
|
9 | return (React.createElement("div", Object.assign({ style:
|
10 |
|
11 | backgroundImageSrc !== ''
|
12 | ? { [c_about_modal_box__hero_sm_BackgroundImage.name]: `url(${backgroundImageSrc})` }
|
13 | : {}, className: css(styles.aboutModalBoxHero, className) }, props)));
|
14 | };
|
15 | AboutModalBoxHero.displayName = 'AboutModalBoxHero';
|
16 |
|
\ | No newline at end of file |