UNPKG

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