@ansible/ansible-ui-framework 0.0.587 → 0.0.588
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,9 +15,7 @@ exports.DetailInfo = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
16
16
|
var react_core_1 = require("@patternfly/react-core");
|
17
17
|
function DetailInfo(props) {
|
18
|
-
|
19
|
-
|
20
|
-
paddingTop: props.disablePaddingTop ? 0 : undefined,
|
21
|
-
} }, { children: props.children })));
|
18
|
+
var title = props.title, description = props.description;
|
19
|
+
return ((0, jsx_runtime_1.jsx)(react_core_1.PageSection, __assign({ variant: "light" }, { children: (0, jsx_runtime_1.jsx)(react_core_1.Alert, __assign({ isInline: true, isPlain: true, variant: "info", title: title }, { children: description && (0, jsx_runtime_1.jsx)("p", { children: description }) })) })));
|
22
20
|
}
|
23
21
|
exports.DetailInfo = DetailInfo;
|